@visulima/dev-toolbar 1.0.0-alpha.4 → 1.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +89 -0
- package/LICENSE.md +109 -2
- package/bin/mcp.js +29 -0
- package/dist/apps/a11y/a11y-app.d.ts +0 -1
- package/dist/apps/a11y/a11y-tooltip.d.ts +0 -1
- package/dist/apps/a11y/index.js +21 -2
- package/dist/apps/annotations/annotations-app.d.ts +4 -0
- package/dist/apps/annotations/index.d.ts +3 -0
- package/dist/apps/annotations/index.js +18 -0
- package/dist/apps/assets/assets-app.d.ts +4 -0
- package/dist/apps/assets/index.d.ts +3 -0
- package/dist/apps/assets/index.js +16 -0
- package/dist/apps/inspector/a11y-capture.d.ts +12 -0
- package/dist/apps/inspector/annotation-overlay.d.ts +55 -0
- package/dist/apps/inspector/annotation-settings.d.ts +33 -0
- package/dist/apps/inspector/element-utils.d.ts +115 -0
- package/dist/apps/inspector/freeze-animations.d.ts +22 -0
- package/dist/apps/inspector/index.js +30 -1
- package/dist/apps/inspector/inspector-app.d.ts +4 -2
- package/dist/apps/inspector/rulers.d.ts +14 -0
- package/dist/apps/inspector/theme-palette.d.ts +34 -0
- package/dist/apps/module-graph/index.js +20 -1
- package/dist/apps/module-graph/module-graph-app.d.ts +0 -1
- package/dist/apps/performance/index.js +17 -1
- package/dist/apps/performance/performance-app.d.ts +0 -1
- package/dist/apps/performance/performance-tooltip.d.ts +0 -1
- package/dist/apps/seo/index.js +17 -1
- package/dist/apps/seo/seo-app.d.ts +0 -1
- package/dist/apps/settings/index.js +17 -1
- package/dist/apps/tailwind/index.js +2 -2
- package/dist/apps/tailwind/tailwind-app.d.ts +0 -1
- package/dist/apps/timeline/index.js +18 -1
- package/dist/apps/timeline/timeline-app.d.ts +0 -1
- package/dist/apps/vite-config/index.js +16 -1
- package/dist/apps/vite-config/vite-config-app.d.ts +0 -1
- package/dist/client/overlay.js +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/server.d.ts +12 -0
- package/dist/mcp/server.js +1 -0
- package/dist/packem_chunks/inject-source.js +9 -1
- package/dist/packem_shared/Alert-D2CvX4fw.js +1 -0
- package/dist/packem_shared/Badge-BEgU04nl.js +1 -0
- package/dist/packem_shared/Button-Bkx66Co7.js +1 -0
- package/dist/packem_shared/Card-CJa4vHVc.js +1 -0
- package/dist/packem_shared/Icon-B6UHkC0o.js +1 -0
- package/dist/packem_shared/Input-Cs6aduTi.js +1 -0
- package/dist/packem_shared/Label-CgCFOMDc.js +1 -0
- package/dist/packem_shared/Popover-DzH5lAc9.js +1 -0
- package/dist/packem_shared/Progress-DN6zn-0l.js +1 -0
- package/dist/packem_shared/Select-C0CQOOqZ.js +1 -0
- package/dist/packem_shared/Separator-D38mKeZv.js +1 -0
- package/dist/packem_shared/Skeleton-Dv-tcA1P.js +1 -0
- package/dist/packem_shared/Switch-C3NTpeoR.js +1 -0
- package/dist/packem_shared/Tabs-SuFWbB6d.js +1 -0
- package/dist/packem_shared/Textarea-Yfg3dLZi.js +1 -0
- package/dist/packem_shared/Tooltip-BHmzUaxu.js +1 -0
- package/dist/packem_shared/annotation-settings-DOyUbJ_T.js +1 -0
- package/dist/packem_shared/annotation-store-bLQRYMaI.js +1 -0
- package/dist/packem_shared/clsx-wGlvpUfw.js +1 -0
- package/dist/packem_shared/createServerRPCContext-CJ6F87o_.js +1 -0
- package/dist/packem_shared/sharedToolbarStylesheet-CaTdYhVe.js +2 -0
- package/dist/packem_shared/use-frame-state-CxrlPUM5.js +1 -0
- package/dist/packem_shared/use-theme-zpm4zmqP.js +1 -0
- package/dist/rpc/functions/annotations.d.ts +28 -0
- package/dist/rpc/functions/assets.d.ts +16 -0
- package/dist/rpc/functions/vite-config.d.ts +76 -2
- package/dist/store/annotation-store.d.ts +41 -0
- package/dist/toolbar/components/app-button.d.ts +0 -1
- package/dist/toolbar/components/first-visit-hint.d.ts +0 -1
- package/dist/toolbar/components/toolbar-bar.d.ts +2 -7
- package/dist/toolbar/components/toolbar-container.d.ts +1 -7
- package/dist/toolbar/hooks/use-frame-state.d.ts +11 -1
- package/dist/toolbar/index.d.ts +0 -1
- package/dist/toolbar/index.js +3 -3
- package/dist/types/annotations.d.ts +156 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/rpc.d.ts +41 -1
- package/dist/ui/components/alert.d.ts +0 -1
- package/dist/ui/components/badge.d.ts +0 -1
- package/dist/ui/components/button.d.ts +0 -1
- package/dist/ui/components/card.d.ts +0 -1
- package/dist/ui/components/icon.d.ts +0 -1
- package/dist/ui/components/input.d.ts +0 -1
- package/dist/ui/components/label.d.ts +0 -1
- package/dist/ui/components/progress.d.ts +0 -1
- package/dist/ui/components/select.d.ts +54 -0
- package/dist/ui/components/separator.d.ts +0 -1
- package/dist/ui/components/skeleton.d.ts +0 -1
- package/dist/ui/components/switch.d.ts +0 -1
- package/dist/ui/components/tabs.d.ts +0 -1
- package/dist/ui/components/textarea.d.ts +0 -1
- package/dist/ui/index.d.ts +2 -1
- package/dist/ui/index.js +1 -1
- package/dist/vite-plugin.d.ts +6 -1
- package/dist/vite-plugin.js +5 -2
- package/package.json +36 -14
- package/dist/apps/more/index.d.ts +0 -3
- package/dist/apps/more/index.js +0 -2
- package/dist/apps/more/more-app.d.ts +0 -5
- package/dist/packem_shared/Alert-H-x1JuZ0.js +0 -1
- package/dist/packem_shared/Badge-C30mDKKG.js +0 -1
- package/dist/packem_shared/Button-DODNCTPZ.js +0 -1
- package/dist/packem_shared/Card-DdI7Wn3t.js +0 -1
- package/dist/packem_shared/Icon-DWFLZkwW.js +0 -1
- package/dist/packem_shared/Input-GfbOwAkK.js +0 -1
- package/dist/packem_shared/Label-Bzi47aUf.js +0 -1
- package/dist/packem_shared/Popover-CLt7YhUF.js +0 -1
- package/dist/packem_shared/Progress-vGfFpxRn.js +0 -1
- package/dist/packem_shared/Separator-DQGeJPQg.js +0 -1
- package/dist/packem_shared/Skeleton-BYXau6jM.js +0 -1
- package/dist/packem_shared/Switch-BeC78S_T.js +0 -1
- package/dist/packem_shared/Tabs-CXERaeAp.js +0 -1
- package/dist/packem_shared/Textarea-DvbSX13V.js +0 -1
- package/dist/packem_shared/Tooltip-tlBN-NdK.js +0 -1
- package/dist/packem_shared/cn-DWLJYh3h.js +0 -1
- package/dist/packem_shared/createServerRPCContext-CEm1Ymkn.js +0 -1
- package/dist/packem_shared/sharedToolbarStylesheet-DOV-Jwcm.js +0 -2
- package/dist/packem_shared/use-theme-BOw3dPpY.js +0 -1
- package/dist/utils/cn.d.ts +0 -8
|
@@ -1 +1,9 @@
|
|
|
1
|
-
var
|
|
1
|
+
var np=Object.defineProperty;var r=(T,n)=>np(T,"name",{value:n,configurable:!0});import Us from"@babel/generator";import{parse as jl}from"@babel/parser";import Ws from"@babel/traverse";import{normalizePath as ap}from"vite";var ip=Object.defineProperty,Na=r((T,n)=>ip(T,"name",{value:n,configurable:!0}),"t");function sp(T){return T&&T.__esModule&&Object.prototype.hasOwnProperty.call(T,"default")?T.default:T}r(sp,"getDefaultExportFromCjs");Na(sp,"getDefaultExportFromCjs");function op(T){return T&&Object.prototype.hasOwnProperty.call(T,"default")?T.default:T}r(op,"getDefaultExportFromNamespaceIfPresent");Na(op,"getDefaultExportFromNamespaceIfPresent");function lp(T){return T&&Object.prototype.hasOwnProperty.call(T,"default")&&Object.keys(T).length===1?T.default:T}r(lp,"getDefaultExportFromNamespaceIfNotNamed");Na(lp,"getDefaultExportFromNamespaceIfNotNamed");function pp(T){if(Object.prototype.hasOwnProperty.call(T,"__esModule"))return T;var n=T.default;if(typeof n=="function"){var i=Na(r(function o(){var s=!1;try{s=this instanceof o}catch{}return s?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)},"a"),"a");i.prototype=n.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(T).forEach(function(o){var s=Object.getOwnPropertyDescriptor(T,o);Object.defineProperty(i,o,s.get?s:{enumerable:!0,get:Na(function(){return T[o]},"get")})}),i}r(pp,"getAugmentedNamespace");Na(pp,"getAugmentedNamespace");var Bs={},yi={},gi={},Ii={},E={},Oi={},Gs;function Rs(){if(Gs)return Oi;Gs=1;var T=Object.defineProperty,n=r((o,s)=>T(o,"name",{value:s,configurable:!0}),"s");Object.defineProperty(Oi,"__esModule",{value:!0}),Oi.default=i;function i(o,s){const a=Object.keys(s);for(const d of a)if(o[d]!==s[d])return!1;return!0}return r(i,"shallowEqual$1"),n(i,"shallowEqual"),Oi}r(Rs,"requireShallowEqual");var Di={},zs;function vi(){if(zs)return Di;zs=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"o");Object.defineProperty(Di,"__esModule",{value:!0}),Di.default=o;const i=new Set;function o(a,d,f="",x=a){if(i.has(x))return;i.add(x);const{internal:P,trace:g}=s(1,2);P||console.warn(`${f}\`${a}\` has been deprecated, please migrate to \`${d}\`
|
|
2
|
+
${g}`)}r(o,"deprecationWarning$1"),n(o,"deprecationWarning");function s(a,d){const{stackTraceLimit:f,prepareStackTrace:x}=Error;let P;if(Error.stackTraceLimit=1+a+d,Error.prepareStackTrace=function(I,A){P=A},Error.stackTraceLimit=f,Error.prepareStackTrace=x,!P)return{internal:!1,trace:""};const g=P.slice(1+a,1+a+d);return{internal:/[\\/]@babel[\\/]/.test(g[1].getFileName()),trace:g.map(I=>` at ${I}`).join(`
|
|
3
|
+
`)}}return r(s,"captureShortStackTrace"),n(s,"captureShortStackTrace"),Di}r(vi,"requireDeprecationWarning");var Qs;function ie(){if(Qs)return E;Qs=1;var T=Object.defineProperty,n=r((t,e)=>T(t,"name",{value:e,configurable:!0}),"r");Object.defineProperty(E,"__esModule",{value:!0}),E.isAccessor=Wa,E.isAnyTypeAnnotation=dt,E.isArgumentPlaceholder=qr,E.isArrayExpression=s,E.isArrayPattern=Ne,E.isArrayTypeAnnotation=yt,E.isArrowFunctionExpression=Le,E.isAssignmentExpression=a,E.isAssignmentPattern=he,E.isAwaitExpression=Ze,E.isBigIntLiteral=tt,E.isBinary=Sa,E.isBinaryExpression=d,E.isBindExpression=Vr,E.isBlock=va,E.isBlockParent=ba,E.isBlockStatement=g,E.isBooleanLiteral=oe,E.isBooleanLiteralTypeAnnotation=Tt,E.isBooleanTypeAnnotation=ft,E.isBreakStatement=I,E.isCallExpression=A,E.isCatchClause=D,E.isClass=Ya,E.isClassAccessorProperty=st,E.isClassBody=Ce,E.isClassDeclaration=Be,E.isClassExpression=_e,E.isClassImplements=St,E.isClassMethod=j,E.isClassPrivateMethod=lt,E.isClassPrivateProperty=ot,E.isClassProperty=it,E.isCompletionStatement=p,E.isConditional=c,E.isConditionalExpression=C,E.isContinueStatement=h,E.isDebuggerStatement=K,E.isDecimalLiteral=Gr,E.isDeclaration=Ca,E.isDeclareClass=Et,E.isDeclareExportAllDeclaration=Dt,E.isDeclareExportDeclaration=Ot,E.isDeclareFunction=bt,E.isDeclareInterface=vt,E.isDeclareModule=Pt,E.isDeclareModuleExports=At,E.isDeclareOpaqueType=gt,E.isDeclareTypeAlias=xt,E.isDeclareVariable=It,E.isDeclaredPredicate=ht,E.isDecorator=Xr,E.isDirective=x,E.isDirectiveLiteral=P,E.isDoExpression=Yr,E.isDoWhileStatement=N,E.isEmptyStatement=M,E.isEmptyTypeAnnotation=kt,E.isEnumBody=ei,E.isEnumBooleanBody=yr,E.isEnumBooleanMember=Sr,E.isEnumDeclaration=dr,E.isEnumDefaultedMember=vr,E.isEnumMember=ti,E.isEnumNumberBody=fr,E.isEnumNumberMember=Er,E.isEnumStringBody=Tr,E.isEnumStringMember=br,E.isEnumSymbolBody=mr,E.isExistsTypeAnnotation=Nt,E.isExportAllDeclaration=Me,E.isExportDeclaration=Ja,E.isExportDefaultDeclaration=je,E.isExportDefaultSpecifier=Jr,E.isExportNamedDeclaration=we,E.isExportNamespaceSpecifier=rt,E.isExportSpecifier=Fe,E.isExpression=ma,E.isExpressionStatement=_,E.isExpressionWrapper=O,E.isFile=B,E.isFlow=za,E.isFlowBaseAnnotation=$a,E.isFlowDeclaration=Ha,E.isFlowPredicate=Za,E.isFlowType=Qa,E.isFor=R,E.isForInStatement=F,E.isForOfStatement=Re,E.isForStatement=Y,E.isForXStatement=z,E.isFunction=ne,E.isFunctionDeclaration=H,E.isFunctionExpression=Z,E.isFunctionParameter=_a,E.isFunctionParent=ye,E.isFunctionTypeAnnotation=Lt,E.isFunctionTypeParam=Ct,E.isGenericTypeAnnotation=_t,E.isIdentifier=ee,E.isIfStatement=te,E.isImmutable=Fa,E.isImport=et,E.isImportAttribute=ct,E.isImportDeclaration=ke,E.isImportDefaultSpecifier=Ke,E.isImportExpression=Ve,E.isImportNamespaceSpecifier=qe,E.isImportOrExportDeclaration=Oa,E.isImportSpecifier=Se,E.isIndexedAccessType=Pr,E.isInferredPredicate=Bt,E.isInterfaceDeclaration=jt,E.isInterfaceExtends=Mt,E.isInterfaceTypeAnnotation=wt,E.isInterpreterDirective=f,E.isIntersectionTypeAnnotation=Ft,E.isJSX=ri,E.isJSXAttribute=xr,E.isJSXClosingElement=gr,E.isJSXClosingFragment=Fr,E.isJSXElement=Ir,E.isJSXEmptyExpression=Or,E.isJSXExpressionContainer=Dr,E.isJSXFragment=jr,E.isJSXIdentifier=Nr,E.isJSXMemberExpression=Lr,E.isJSXNamespacedName=Cr,E.isJSXOpeningElement=_r,E.isJSXOpeningFragment=wr,E.isJSXSpreadAttribute=Br,E.isJSXSpreadChild=hr,E.isJSXText=Mr,E.isLVal=Ma,E.isLabeledStatement=ue,E.isLiteral=wa,E.isLogicalExpression=ce,E.isLoop=m,E.isMemberExpression=w,E.isMetaProperty=Xe,E.isMethod=ka,E.isMiscellaneous=ni,E.isMixedTypeAnnotation=Rt,E.isModuleDeclaration=di,E.isModuleExpression=zr,E.isModuleSpecifier=Ua,E.isNewExpression=k,E.isNoop=Rr,E.isNullLiteral=de,E.isNullLiteralTypeAnnotation=mt,E.isNullableTypeAnnotation=Kt,E.isNumberLiteral=li,E.isNumberLiteralTypeAnnotation=qt,E.isNumberTypeAnnotation=Vt,E.isNumericLiteral=re,E.isObjectExpression=q,E.isObjectMember=Ka,E.isObjectMethod=J,E.isObjectPattern=Ye,E.isObjectProperty=$,E.isObjectTypeAnnotation=Xt,E.isObjectTypeCallProperty=Jt,E.isObjectTypeIndexer=Ut,E.isObjectTypeInternalSlot=Yt,E.isObjectTypeProperty=Wt,E.isObjectTypeSpreadProperty=Gt,E.isOpaqueType=zt,E.isOptionalCallExpression=at,E.isOptionalIndexedAccessType=Ar,E.isOptionalMemberExpression=nt,E.isParenthesizedExpression=le,E.isPattern=Xa,E.isPatternLike=Ba,E.isPipelineBareFunction=Hr,E.isPipelinePrimaryTopicReference=Zr,E.isPipelineTopicExpression=$r,E.isPlaceholder=kr,E.isPrivate=Ga,E.isPrivateName=pt,E.isProgram=V,E.isProperty=qa,E.isPureish=La,E.isQualifiedTypeIdentifier=Qt,E.isRecordExpression=Ur,E.isRegExpLiteral=fe,E.isRegexLiteral=pi,E.isRestElement=G,E.isRestProperty=ui,E.isReturnStatement=W,E.isScopable=Ea,E.isSequenceExpression=Q,E.isSpreadElement=Ge,E.isSpreadProperty=ci,E.isStandardized=Ta,E.isStatement=Pa,E.isStaticBlock=ut,E.isStringLiteral=ae,E.isStringLiteralTypeAnnotation=$t,E.isStringTypeAnnotation=Ht,E.isSuper=ze,E.isSwitchCase=pe,E.isSwitchStatement=be,E.isSymbolTypeAnnotation=Zt,E.isTSAnyKeyword=cn,E.isTSArrayType=Cn,E.isTSAsExpression=$n,E.isTSBaseType=oi,E.isTSBigIntKeyword=yn,E.isTSBooleanKeyword=dn,E.isTSCallSignatureDeclaration=sn,E.isTSConditionalType=Rn,E.isTSConstructSignatureDeclaration=on,E.isTSConstructorType=On,E.isTSDeclareFunction=rn,E.isTSDeclareMethod=nn,E.isTSEntityName=ja,E.isTSEnumBody=ea,E.isTSEnumDeclaration=ta,E.isTSEnumMember=ra,E.isTSExportAssignment=pa,E.isTSExpressionWithTypeArguments=Un,E.isTSExternalModuleReference=oa,E.isTSFunctionType=In,E.isTSImportEqualsDeclaration=sa,E.isTSImportType=ia,E.isTSIndexSignature=un,E.isTSIndexedAccessType=Vn,E.isTSInferType=kn,E.isTSInstantiationExpression=Qn,E.isTSInterfaceBody=Gn,E.isTSInterfaceDeclaration=Wn,E.isTSIntersectionType=Fn,E.isTSIntrinsicKeyword=fn,E.isTSLiteralType=Jn,E.isTSMappedType=Xn,E.isTSMethodSignature=pn,E.isTSModuleBlock=aa,E.isTSModuleDeclaration=na,E.isTSNamedTupleMember=jn,E.isTSNamespaceExportDeclaration=ua,E.isTSNeverKeyword=Tn,E.isTSNonNullExpression=la,E.isTSNullKeyword=mn,E.isTSNumberKeyword=Sn,E.isTSObjectKeyword=En,E.isTSOptionalType=Bn,E.isTSParameterProperty=tn,E.isTSParenthesizedType=Kn,E.isTSPropertySignature=ln,E.isTSQualifiedName=an,E.isTSRestType=Mn,E.isTSSatisfiesExpression=Hn,E.isTSStringKeyword=bn,E.isTSSymbolKeyword=vn,E.isTSTemplateLiteralType=Yn,E.isTSThisType=gn,E.isTSTupleType=_n,E.isTSType=si,E.isTSTypeAliasDeclaration=zn,E.isTSTypeAnnotation=ca,E.isTSTypeAssertion=Zn,E.isTSTypeElement=ii,E.isTSTypeLiteral=Ln,E.isTSTypeOperator=qn,E.isTSTypeParameter=fa,E.isTSTypeParameterDeclaration=ya,E.isTSTypeParameterInstantiation=da,E.isTSTypePredicate=hn,E.isTSTypeQuery=Nn,E.isTSTypeReference=Dn,E.isTSUndefinedKeyword=Pn,E.isTSUnionType=wn,E.isTSUnknownKeyword=An,E.isTSVoidKeyword=xn,E.isTaggedTemplateExpression=Qe,E.isTemplateElement=$e,E.isTemplateLiteral=Je,E.isTerminatorless=l,E.isThisExpression=ve,E.isThisTypeAnnotation=er,E.isThrowStatement=Pe,E.isTopicReference=Qr,E.isTryStatement=Te,E.isTupleExpression=Wr,E.isTupleTypeAnnotation=tr,E.isTypeAlias=nr,E.isTypeAnnotation=ar,E.isTypeCastExpression=ir,E.isTypeParameter=sr,E.isTypeParameterDeclaration=or,E.isTypeParameterInstantiation=lr,E.isTypeScript=ai,E.isTypeofTypeAnnotation=rr,E.isUnaryExpression=Ae,E.isUnaryLike=Va,E.isUnionTypeAnnotation=pr,E.isUpdateExpression=xe,E.isUserWhitespacable=Ra,E.isV8IntrinsicIdentifier=Kr,E.isVariableDeclaration=ge,E.isVariableDeclarator=Ie,E.isVariance=ur,E.isVoidPattern=en,E.isVoidTypeAnnotation=cr,E.isWhile=v,E.isWhileStatement=Oe,E.isWithStatement=De,E.isYieldExpression=He;var i=Rs(),o=vi();function s(t,e){return!t||t.type!=="ArrayExpression"?!1:e==null||(0,i.default)(t,e)}r(s,"isArrayExpression"),n(s,"isArrayExpression");function a(t,e){return!t||t.type!=="AssignmentExpression"?!1:e==null||(0,i.default)(t,e)}r(a,"isAssignmentExpression"),n(a,"isAssignmentExpression");function d(t,e){return!t||t.type!=="BinaryExpression"?!1:e==null||(0,i.default)(t,e)}r(d,"isBinaryExpression"),n(d,"isBinaryExpression");function f(t,e){return!t||t.type!=="InterpreterDirective"?!1:e==null||(0,i.default)(t,e)}r(f,"isInterpreterDirective"),n(f,"isInterpreterDirective");function x(t,e){return!t||t.type!=="Directive"?!1:e==null||(0,i.default)(t,e)}r(x,"isDirective"),n(x,"isDirective");function P(t,e){return!t||t.type!=="DirectiveLiteral"?!1:e==null||(0,i.default)(t,e)}r(P,"isDirectiveLiteral"),n(P,"isDirectiveLiteral");function g(t,e){return!t||t.type!=="BlockStatement"?!1:e==null||(0,i.default)(t,e)}r(g,"isBlockStatement"),n(g,"isBlockStatement");function I(t,e){return!t||t.type!=="BreakStatement"?!1:e==null||(0,i.default)(t,e)}r(I,"isBreakStatement"),n(I,"isBreakStatement");function A(t,e){return!t||t.type!=="CallExpression"?!1:e==null||(0,i.default)(t,e)}r(A,"isCallExpression"),n(A,"isCallExpression");function D(t,e){return!t||t.type!=="CatchClause"?!1:e==null||(0,i.default)(t,e)}r(D,"isCatchClause"),n(D,"isCatchClause");function C(t,e){return!t||t.type!=="ConditionalExpression"?!1:e==null||(0,i.default)(t,e)}r(C,"isConditionalExpression"),n(C,"isConditionalExpression");function h(t,e){return!t||t.type!=="ContinueStatement"?!1:e==null||(0,i.default)(t,e)}r(h,"isContinueStatement"),n(h,"isContinueStatement");function K(t,e){return!t||t.type!=="DebuggerStatement"?!1:e==null||(0,i.default)(t,e)}r(K,"isDebuggerStatement"),n(K,"isDebuggerStatement");function N(t,e){return!t||t.type!=="DoWhileStatement"?!1:e==null||(0,i.default)(t,e)}r(N,"isDoWhileStatement"),n(N,"isDoWhileStatement");function M(t,e){return!t||t.type!=="EmptyStatement"?!1:e==null||(0,i.default)(t,e)}r(M,"isEmptyStatement"),n(M,"isEmptyStatement");function _(t,e){return!t||t.type!=="ExpressionStatement"?!1:e==null||(0,i.default)(t,e)}r(_,"isExpressionStatement"),n(_,"isExpressionStatement");function B(t,e){return!t||t.type!=="File"?!1:e==null||(0,i.default)(t,e)}r(B,"isFile"),n(B,"isFile");function F(t,e){return!t||t.type!=="ForInStatement"?!1:e==null||(0,i.default)(t,e)}r(F,"isForInStatement"),n(F,"isForInStatement");function Y(t,e){return!t||t.type!=="ForStatement"?!1:e==null||(0,i.default)(t,e)}r(Y,"isForStatement"),n(Y,"isForStatement");function H(t,e){return!t||t.type!=="FunctionDeclaration"?!1:e==null||(0,i.default)(t,e)}r(H,"isFunctionDeclaration"),n(H,"isFunctionDeclaration");function Z(t,e){return!t||t.type!=="FunctionExpression"?!1:e==null||(0,i.default)(t,e)}r(Z,"isFunctionExpression"),n(Z,"isFunctionExpression");function ee(t,e){return!t||t.type!=="Identifier"?!1:e==null||(0,i.default)(t,e)}r(ee,"isIdentifier"),n(ee,"isIdentifier");function te(t,e){return!t||t.type!=="IfStatement"?!1:e==null||(0,i.default)(t,e)}r(te,"isIfStatement"),n(te,"isIfStatement");function ue(t,e){return!t||t.type!=="LabeledStatement"?!1:e==null||(0,i.default)(t,e)}r(ue,"isLabeledStatement"),n(ue,"isLabeledStatement");function ae(t,e){return!t||t.type!=="StringLiteral"?!1:e==null||(0,i.default)(t,e)}r(ae,"isStringLiteral"),n(ae,"isStringLiteral");function re(t,e){return!t||t.type!=="NumericLiteral"?!1:e==null||(0,i.default)(t,e)}r(re,"isNumericLiteral"),n(re,"isNumericLiteral");function de(t,e){return!t||t.type!=="NullLiteral"?!1:e==null||(0,i.default)(t,e)}r(de,"isNullLiteral"),n(de,"isNullLiteral");function oe(t,e){return!t||t.type!=="BooleanLiteral"?!1:e==null||(0,i.default)(t,e)}r(oe,"isBooleanLiteral"),n(oe,"isBooleanLiteral");function fe(t,e){return!t||t.type!=="RegExpLiteral"?!1:e==null||(0,i.default)(t,e)}r(fe,"isRegExpLiteral"),n(fe,"isRegExpLiteral");function ce(t,e){return!t||t.type!=="LogicalExpression"?!1:e==null||(0,i.default)(t,e)}r(ce,"isLogicalExpression"),n(ce,"isLogicalExpression");function w(t,e){return!t||t.type!=="MemberExpression"?!1:e==null||(0,i.default)(t,e)}r(w,"isMemberExpression"),n(w,"isMemberExpression");function k(t,e){return!t||t.type!=="NewExpression"?!1:e==null||(0,i.default)(t,e)}r(k,"isNewExpression"),n(k,"isNewExpression");function V(t,e){return!t||t.type!=="Program"?!1:e==null||(0,i.default)(t,e)}r(V,"isProgram"),n(V,"isProgram");function q(t,e){return!t||t.type!=="ObjectExpression"?!1:e==null||(0,i.default)(t,e)}r(q,"isObjectExpression"),n(q,"isObjectExpression");function J(t,e){return!t||t.type!=="ObjectMethod"?!1:e==null||(0,i.default)(t,e)}r(J,"isObjectMethod"),n(J,"isObjectMethod");function $(t,e){return!t||t.type!=="ObjectProperty"?!1:e==null||(0,i.default)(t,e)}r($,"isObjectProperty"),n($,"isObjectProperty");function G(t,e){return!t||t.type!=="RestElement"?!1:e==null||(0,i.default)(t,e)}r(G,"isRestElement"),n(G,"isRestElement");function W(t,e){return!t||t.type!=="ReturnStatement"?!1:e==null||(0,i.default)(t,e)}r(W,"isReturnStatement"),n(W,"isReturnStatement");function Q(t,e){return!t||t.type!=="SequenceExpression"?!1:e==null||(0,i.default)(t,e)}r(Q,"isSequenceExpression"),n(Q,"isSequenceExpression");function le(t,e){return!t||t.type!=="ParenthesizedExpression"?!1:e==null||(0,i.default)(t,e)}r(le,"isParenthesizedExpression"),n(le,"isParenthesizedExpression");function pe(t,e){return!t||t.type!=="SwitchCase"?!1:e==null||(0,i.default)(t,e)}r(pe,"isSwitchCase"),n(pe,"isSwitchCase");function be(t,e){return!t||t.type!=="SwitchStatement"?!1:e==null||(0,i.default)(t,e)}r(be,"isSwitchStatement"),n(be,"isSwitchStatement");function ve(t,e){return!t||t.type!=="ThisExpression"?!1:e==null||(0,i.default)(t,e)}r(ve,"isThisExpression"),n(ve,"isThisExpression");function Pe(t,e){return!t||t.type!=="ThrowStatement"?!1:e==null||(0,i.default)(t,e)}r(Pe,"isThrowStatement"),n(Pe,"isThrowStatement");function Te(t,e){return!t||t.type!=="TryStatement"?!1:e==null||(0,i.default)(t,e)}r(Te,"isTryStatement"),n(Te,"isTryStatement");function Ae(t,e){return!t||t.type!=="UnaryExpression"?!1:e==null||(0,i.default)(t,e)}r(Ae,"isUnaryExpression"),n(Ae,"isUnaryExpression");function xe(t,e){return!t||t.type!=="UpdateExpression"?!1:e==null||(0,i.default)(t,e)}r(xe,"isUpdateExpression"),n(xe,"isUpdateExpression");function ge(t,e){return!t||t.type!=="VariableDeclaration"?!1:e==null||(0,i.default)(t,e)}r(ge,"isVariableDeclaration"),n(ge,"isVariableDeclaration");function Ie(t,e){return!t||t.type!=="VariableDeclarator"?!1:e==null||(0,i.default)(t,e)}r(Ie,"isVariableDeclarator"),n(Ie,"isVariableDeclarator");function Oe(t,e){return!t||t.type!=="WhileStatement"?!1:e==null||(0,i.default)(t,e)}r(Oe,"isWhileStatement"),n(Oe,"isWhileStatement");function De(t,e){return!t||t.type!=="WithStatement"?!1:e==null||(0,i.default)(t,e)}r(De,"isWithStatement"),n(De,"isWithStatement");function he(t,e){return!t||t.type!=="AssignmentPattern"?!1:e==null||(0,i.default)(t,e)}r(he,"isAssignmentPattern"),n(he,"isAssignmentPattern");function Ne(t,e){return!t||t.type!=="ArrayPattern"?!1:e==null||(0,i.default)(t,e)}r(Ne,"isArrayPattern"),n(Ne,"isArrayPattern");function Le(t,e){return!t||t.type!=="ArrowFunctionExpression"?!1:e==null||(0,i.default)(t,e)}r(Le,"isArrowFunctionExpression"),n(Le,"isArrowFunctionExpression");function Ce(t,e){return!t||t.type!=="ClassBody"?!1:e==null||(0,i.default)(t,e)}r(Ce,"isClassBody"),n(Ce,"isClassBody");function _e(t,e){return!t||t.type!=="ClassExpression"?!1:e==null||(0,i.default)(t,e)}r(_e,"isClassExpression"),n(_e,"isClassExpression");function Be(t,e){return!t||t.type!=="ClassDeclaration"?!1:e==null||(0,i.default)(t,e)}r(Be,"isClassDeclaration"),n(Be,"isClassDeclaration");function Me(t,e){return!t||t.type!=="ExportAllDeclaration"?!1:e==null||(0,i.default)(t,e)}r(Me,"isExportAllDeclaration"),n(Me,"isExportAllDeclaration");function je(t,e){return!t||t.type!=="ExportDefaultDeclaration"?!1:e==null||(0,i.default)(t,e)}r(je,"isExportDefaultDeclaration"),n(je,"isExportDefaultDeclaration");function we(t,e){return!t||t.type!=="ExportNamedDeclaration"?!1:e==null||(0,i.default)(t,e)}r(we,"isExportNamedDeclaration"),n(we,"isExportNamedDeclaration");function Fe(t,e){return!t||t.type!=="ExportSpecifier"?!1:e==null||(0,i.default)(t,e)}r(Fe,"isExportSpecifier"),n(Fe,"isExportSpecifier");function Re(t,e){return!t||t.type!=="ForOfStatement"?!1:e==null||(0,i.default)(t,e)}r(Re,"isForOfStatement"),n(Re,"isForOfStatement");function ke(t,e){return!t||t.type!=="ImportDeclaration"?!1:e==null||(0,i.default)(t,e)}r(ke,"isImportDeclaration"),n(ke,"isImportDeclaration");function Ke(t,e){return!t||t.type!=="ImportDefaultSpecifier"?!1:e==null||(0,i.default)(t,e)}r(Ke,"isImportDefaultSpecifier"),n(Ke,"isImportDefaultSpecifier");function qe(t,e){return!t||t.type!=="ImportNamespaceSpecifier"?!1:e==null||(0,i.default)(t,e)}r(qe,"isImportNamespaceSpecifier"),n(qe,"isImportNamespaceSpecifier");function Se(t,e){return!t||t.type!=="ImportSpecifier"?!1:e==null||(0,i.default)(t,e)}r(Se,"isImportSpecifier"),n(Se,"isImportSpecifier");function Ve(t,e){return!t||t.type!=="ImportExpression"?!1:e==null||(0,i.default)(t,e)}r(Ve,"isImportExpression"),n(Ve,"isImportExpression");function Xe(t,e){return!t||t.type!=="MetaProperty"?!1:e==null||(0,i.default)(t,e)}r(Xe,"isMetaProperty"),n(Xe,"isMetaProperty");function j(t,e){return!t||t.type!=="ClassMethod"?!1:e==null||(0,i.default)(t,e)}r(j,"isClassMethod"),n(j,"isClassMethod");function Ye(t,e){return!t||t.type!=="ObjectPattern"?!1:e==null||(0,i.default)(t,e)}r(Ye,"isObjectPattern"),n(Ye,"isObjectPattern");function Ge(t,e){return!t||t.type!=="SpreadElement"?!1:e==null||(0,i.default)(t,e)}r(Ge,"isSpreadElement"),n(Ge,"isSpreadElement");function ze(t,e){return!t||t.type!=="Super"?!1:e==null||(0,i.default)(t,e)}r(ze,"isSuper"),n(ze,"isSuper");function Qe(t,e){return!t||t.type!=="TaggedTemplateExpression"?!1:e==null||(0,i.default)(t,e)}r(Qe,"isTaggedTemplateExpression"),n(Qe,"isTaggedTemplateExpression");function $e(t,e){return!t||t.type!=="TemplateElement"?!1:e==null||(0,i.default)(t,e)}r($e,"isTemplateElement"),n($e,"isTemplateElement");function Je(t,e){return!t||t.type!=="TemplateLiteral"?!1:e==null||(0,i.default)(t,e)}r(Je,"isTemplateLiteral"),n(Je,"isTemplateLiteral");function He(t,e){return!t||t.type!=="YieldExpression"?!1:e==null||(0,i.default)(t,e)}r(He,"isYieldExpression"),n(He,"isYieldExpression");function Ze(t,e){return!t||t.type!=="AwaitExpression"?!1:e==null||(0,i.default)(t,e)}r(Ze,"isAwaitExpression"),n(Ze,"isAwaitExpression");function et(t,e){return!t||t.type!=="Import"?!1:e==null||(0,i.default)(t,e)}r(et,"isImport"),n(et,"isImport");function tt(t,e){return!t||t.type!=="BigIntLiteral"?!1:e==null||(0,i.default)(t,e)}r(tt,"isBigIntLiteral"),n(tt,"isBigIntLiteral");function rt(t,e){return!t||t.type!=="ExportNamespaceSpecifier"?!1:e==null||(0,i.default)(t,e)}r(rt,"isExportNamespaceSpecifier"),n(rt,"isExportNamespaceSpecifier");function nt(t,e){return!t||t.type!=="OptionalMemberExpression"?!1:e==null||(0,i.default)(t,e)}r(nt,"isOptionalMemberExpression"),n(nt,"isOptionalMemberExpression");function at(t,e){return!t||t.type!=="OptionalCallExpression"?!1:e==null||(0,i.default)(t,e)}r(at,"isOptionalCallExpression"),n(at,"isOptionalCallExpression");function it(t,e){return!t||t.type!=="ClassProperty"?!1:e==null||(0,i.default)(t,e)}r(it,"isClassProperty"),n(it,"isClassProperty");function st(t,e){return!t||t.type!=="ClassAccessorProperty"?!1:e==null||(0,i.default)(t,e)}r(st,"isClassAccessorProperty"),n(st,"isClassAccessorProperty");function ot(t,e){return!t||t.type!=="ClassPrivateProperty"?!1:e==null||(0,i.default)(t,e)}r(ot,"isClassPrivateProperty"),n(ot,"isClassPrivateProperty");function lt(t,e){return!t||t.type!=="ClassPrivateMethod"?!1:e==null||(0,i.default)(t,e)}r(lt,"isClassPrivateMethod"),n(lt,"isClassPrivateMethod");function pt(t,e){return!t||t.type!=="PrivateName"?!1:e==null||(0,i.default)(t,e)}r(pt,"isPrivateName"),n(pt,"isPrivateName");function ut(t,e){return!t||t.type!=="StaticBlock"?!1:e==null||(0,i.default)(t,e)}r(ut,"isStaticBlock"),n(ut,"isStaticBlock");function ct(t,e){return!t||t.type!=="ImportAttribute"?!1:e==null||(0,i.default)(t,e)}r(ct,"isImportAttribute"),n(ct,"isImportAttribute");function dt(t,e){return!t||t.type!=="AnyTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(dt,"isAnyTypeAnnotation"),n(dt,"isAnyTypeAnnotation");function yt(t,e){return!t||t.type!=="ArrayTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(yt,"isArrayTypeAnnotation"),n(yt,"isArrayTypeAnnotation");function ft(t,e){return!t||t.type!=="BooleanTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(ft,"isBooleanTypeAnnotation"),n(ft,"isBooleanTypeAnnotation");function Tt(t,e){return!t||t.type!=="BooleanLiteralTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Tt,"isBooleanLiteralTypeAnnotation"),n(Tt,"isBooleanLiteralTypeAnnotation");function mt(t,e){return!t||t.type!=="NullLiteralTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(mt,"isNullLiteralTypeAnnotation"),n(mt,"isNullLiteralTypeAnnotation");function St(t,e){return!t||t.type!=="ClassImplements"?!1:e==null||(0,i.default)(t,e)}r(St,"isClassImplements"),n(St,"isClassImplements");function Et(t,e){return!t||t.type!=="DeclareClass"?!1:e==null||(0,i.default)(t,e)}r(Et,"isDeclareClass"),n(Et,"isDeclareClass");function bt(t,e){return!t||t.type!=="DeclareFunction"?!1:e==null||(0,i.default)(t,e)}r(bt,"isDeclareFunction"),n(bt,"isDeclareFunction");function vt(t,e){return!t||t.type!=="DeclareInterface"?!1:e==null||(0,i.default)(t,e)}r(vt,"isDeclareInterface"),n(vt,"isDeclareInterface");function Pt(t,e){return!t||t.type!=="DeclareModule"?!1:e==null||(0,i.default)(t,e)}r(Pt,"isDeclareModule"),n(Pt,"isDeclareModule");function At(t,e){return!t||t.type!=="DeclareModuleExports"?!1:e==null||(0,i.default)(t,e)}r(At,"isDeclareModuleExports"),n(At,"isDeclareModuleExports");function xt(t,e){return!t||t.type!=="DeclareTypeAlias"?!1:e==null||(0,i.default)(t,e)}r(xt,"isDeclareTypeAlias"),n(xt,"isDeclareTypeAlias");function gt(t,e){return!t||t.type!=="DeclareOpaqueType"?!1:e==null||(0,i.default)(t,e)}r(gt,"isDeclareOpaqueType"),n(gt,"isDeclareOpaqueType");function It(t,e){return!t||t.type!=="DeclareVariable"?!1:e==null||(0,i.default)(t,e)}r(It,"isDeclareVariable"),n(It,"isDeclareVariable");function Ot(t,e){return!t||t.type!=="DeclareExportDeclaration"?!1:e==null||(0,i.default)(t,e)}r(Ot,"isDeclareExportDeclaration"),n(Ot,"isDeclareExportDeclaration");function Dt(t,e){return!t||t.type!=="DeclareExportAllDeclaration"?!1:e==null||(0,i.default)(t,e)}r(Dt,"isDeclareExportAllDeclaration"),n(Dt,"isDeclareExportAllDeclaration");function ht(t,e){return!t||t.type!=="DeclaredPredicate"?!1:e==null||(0,i.default)(t,e)}r(ht,"isDeclaredPredicate"),n(ht,"isDeclaredPredicate");function Nt(t,e){return!t||t.type!=="ExistsTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Nt,"isExistsTypeAnnotation"),n(Nt,"isExistsTypeAnnotation");function Lt(t,e){return!t||t.type!=="FunctionTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Lt,"isFunctionTypeAnnotation"),n(Lt,"isFunctionTypeAnnotation");function Ct(t,e){return!t||t.type!=="FunctionTypeParam"?!1:e==null||(0,i.default)(t,e)}r(Ct,"isFunctionTypeParam"),n(Ct,"isFunctionTypeParam");function _t(t,e){return!t||t.type!=="GenericTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(_t,"isGenericTypeAnnotation"),n(_t,"isGenericTypeAnnotation");function Bt(t,e){return!t||t.type!=="InferredPredicate"?!1:e==null||(0,i.default)(t,e)}r(Bt,"isInferredPredicate"),n(Bt,"isInferredPredicate");function Mt(t,e){return!t||t.type!=="InterfaceExtends"?!1:e==null||(0,i.default)(t,e)}r(Mt,"isInterfaceExtends"),n(Mt,"isInterfaceExtends");function jt(t,e){return!t||t.type!=="InterfaceDeclaration"?!1:e==null||(0,i.default)(t,e)}r(jt,"isInterfaceDeclaration"),n(jt,"isInterfaceDeclaration");function wt(t,e){return!t||t.type!=="InterfaceTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(wt,"isInterfaceTypeAnnotation"),n(wt,"isInterfaceTypeAnnotation");function Ft(t,e){return!t||t.type!=="IntersectionTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Ft,"isIntersectionTypeAnnotation"),n(Ft,"isIntersectionTypeAnnotation");function Rt(t,e){return!t||t.type!=="MixedTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Rt,"isMixedTypeAnnotation"),n(Rt,"isMixedTypeAnnotation");function kt(t,e){return!t||t.type!=="EmptyTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(kt,"isEmptyTypeAnnotation"),n(kt,"isEmptyTypeAnnotation");function Kt(t,e){return!t||t.type!=="NullableTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Kt,"isNullableTypeAnnotation"),n(Kt,"isNullableTypeAnnotation");function qt(t,e){return!t||t.type!=="NumberLiteralTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(qt,"isNumberLiteralTypeAnnotation"),n(qt,"isNumberLiteralTypeAnnotation");function Vt(t,e){return!t||t.type!=="NumberTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Vt,"isNumberTypeAnnotation"),n(Vt,"isNumberTypeAnnotation");function Xt(t,e){return!t||t.type!=="ObjectTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Xt,"isObjectTypeAnnotation"),n(Xt,"isObjectTypeAnnotation");function Yt(t,e){return!t||t.type!=="ObjectTypeInternalSlot"?!1:e==null||(0,i.default)(t,e)}r(Yt,"isObjectTypeInternalSlot"),n(Yt,"isObjectTypeInternalSlot");function Jt(t,e){return!t||t.type!=="ObjectTypeCallProperty"?!1:e==null||(0,i.default)(t,e)}r(Jt,"isObjectTypeCallProperty"),n(Jt,"isObjectTypeCallProperty");function Ut(t,e){return!t||t.type!=="ObjectTypeIndexer"?!1:e==null||(0,i.default)(t,e)}r(Ut,"isObjectTypeIndexer"),n(Ut,"isObjectTypeIndexer");function Wt(t,e){return!t||t.type!=="ObjectTypeProperty"?!1:e==null||(0,i.default)(t,e)}r(Wt,"isObjectTypeProperty"),n(Wt,"isObjectTypeProperty");function Gt(t,e){return!t||t.type!=="ObjectTypeSpreadProperty"?!1:e==null||(0,i.default)(t,e)}r(Gt,"isObjectTypeSpreadProperty"),n(Gt,"isObjectTypeSpreadProperty");function zt(t,e){return!t||t.type!=="OpaqueType"?!1:e==null||(0,i.default)(t,e)}r(zt,"isOpaqueType"),n(zt,"isOpaqueType");function Qt(t,e){return!t||t.type!=="QualifiedTypeIdentifier"?!1:e==null||(0,i.default)(t,e)}r(Qt,"isQualifiedTypeIdentifier"),n(Qt,"isQualifiedTypeIdentifier");function $t(t,e){return!t||t.type!=="StringLiteralTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r($t,"isStringLiteralTypeAnnotation"),n($t,"isStringLiteralTypeAnnotation");function Ht(t,e){return!t||t.type!=="StringTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Ht,"isStringTypeAnnotation"),n(Ht,"isStringTypeAnnotation");function Zt(t,e){return!t||t.type!=="SymbolTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Zt,"isSymbolTypeAnnotation"),n(Zt,"isSymbolTypeAnnotation");function er(t,e){return!t||t.type!=="ThisTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(er,"isThisTypeAnnotation"),n(er,"isThisTypeAnnotation");function tr(t,e){return!t||t.type!=="TupleTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(tr,"isTupleTypeAnnotation"),n(tr,"isTupleTypeAnnotation");function rr(t,e){return!t||t.type!=="TypeofTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(rr,"isTypeofTypeAnnotation"),n(rr,"isTypeofTypeAnnotation");function nr(t,e){return!t||t.type!=="TypeAlias"?!1:e==null||(0,i.default)(t,e)}r(nr,"isTypeAlias"),n(nr,"isTypeAlias");function ar(t,e){return!t||t.type!=="TypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(ar,"isTypeAnnotation"),n(ar,"isTypeAnnotation");function ir(t,e){return!t||t.type!=="TypeCastExpression"?!1:e==null||(0,i.default)(t,e)}r(ir,"isTypeCastExpression"),n(ir,"isTypeCastExpression");function sr(t,e){return!t||t.type!=="TypeParameter"?!1:e==null||(0,i.default)(t,e)}r(sr,"isTypeParameter"),n(sr,"isTypeParameter");function or(t,e){return!t||t.type!=="TypeParameterDeclaration"?!1:e==null||(0,i.default)(t,e)}r(or,"isTypeParameterDeclaration"),n(or,"isTypeParameterDeclaration");function lr(t,e){return!t||t.type!=="TypeParameterInstantiation"?!1:e==null||(0,i.default)(t,e)}r(lr,"isTypeParameterInstantiation"),n(lr,"isTypeParameterInstantiation");function pr(t,e){return!t||t.type!=="UnionTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(pr,"isUnionTypeAnnotation"),n(pr,"isUnionTypeAnnotation");function ur(t,e){return!t||t.type!=="Variance"?!1:e==null||(0,i.default)(t,e)}r(ur,"isVariance"),n(ur,"isVariance");function cr(t,e){return!t||t.type!=="VoidTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(cr,"isVoidTypeAnnotation"),n(cr,"isVoidTypeAnnotation");function dr(t,e){return!t||t.type!=="EnumDeclaration"?!1:e==null||(0,i.default)(t,e)}r(dr,"isEnumDeclaration"),n(dr,"isEnumDeclaration");function yr(t,e){return!t||t.type!=="EnumBooleanBody"?!1:e==null||(0,i.default)(t,e)}r(yr,"isEnumBooleanBody"),n(yr,"isEnumBooleanBody");function fr(t,e){return!t||t.type!=="EnumNumberBody"?!1:e==null||(0,i.default)(t,e)}r(fr,"isEnumNumberBody"),n(fr,"isEnumNumberBody");function Tr(t,e){return!t||t.type!=="EnumStringBody"?!1:e==null||(0,i.default)(t,e)}r(Tr,"isEnumStringBody"),n(Tr,"isEnumStringBody");function mr(t,e){return!t||t.type!=="EnumSymbolBody"?!1:e==null||(0,i.default)(t,e)}r(mr,"isEnumSymbolBody"),n(mr,"isEnumSymbolBody");function Sr(t,e){return!t||t.type!=="EnumBooleanMember"?!1:e==null||(0,i.default)(t,e)}r(Sr,"isEnumBooleanMember"),n(Sr,"isEnumBooleanMember");function Er(t,e){return!t||t.type!=="EnumNumberMember"?!1:e==null||(0,i.default)(t,e)}r(Er,"isEnumNumberMember"),n(Er,"isEnumNumberMember");function br(t,e){return!t||t.type!=="EnumStringMember"?!1:e==null||(0,i.default)(t,e)}r(br,"isEnumStringMember"),n(br,"isEnumStringMember");function vr(t,e){return!t||t.type!=="EnumDefaultedMember"?!1:e==null||(0,i.default)(t,e)}r(vr,"isEnumDefaultedMember"),n(vr,"isEnumDefaultedMember");function Pr(t,e){return!t||t.type!=="IndexedAccessType"?!1:e==null||(0,i.default)(t,e)}r(Pr,"isIndexedAccessType"),n(Pr,"isIndexedAccessType");function Ar(t,e){return!t||t.type!=="OptionalIndexedAccessType"?!1:e==null||(0,i.default)(t,e)}r(Ar,"isOptionalIndexedAccessType"),n(Ar,"isOptionalIndexedAccessType");function xr(t,e){return!t||t.type!=="JSXAttribute"?!1:e==null||(0,i.default)(t,e)}r(xr,"isJSXAttribute"),n(xr,"isJSXAttribute");function gr(t,e){return!t||t.type!=="JSXClosingElement"?!1:e==null||(0,i.default)(t,e)}r(gr,"isJSXClosingElement"),n(gr,"isJSXClosingElement");function Ir(t,e){return!t||t.type!=="JSXElement"?!1:e==null||(0,i.default)(t,e)}r(Ir,"isJSXElement"),n(Ir,"isJSXElement");function Or(t,e){return!t||t.type!=="JSXEmptyExpression"?!1:e==null||(0,i.default)(t,e)}r(Or,"isJSXEmptyExpression"),n(Or,"isJSXEmptyExpression");function Dr(t,e){return!t||t.type!=="JSXExpressionContainer"?!1:e==null||(0,i.default)(t,e)}r(Dr,"isJSXExpressionContainer"),n(Dr,"isJSXExpressionContainer");function hr(t,e){return!t||t.type!=="JSXSpreadChild"?!1:e==null||(0,i.default)(t,e)}r(hr,"isJSXSpreadChild"),n(hr,"isJSXSpreadChild");function Nr(t,e){return!t||t.type!=="JSXIdentifier"?!1:e==null||(0,i.default)(t,e)}r(Nr,"isJSXIdentifier"),n(Nr,"isJSXIdentifier");function Lr(t,e){return!t||t.type!=="JSXMemberExpression"?!1:e==null||(0,i.default)(t,e)}r(Lr,"isJSXMemberExpression"),n(Lr,"isJSXMemberExpression");function Cr(t,e){return!t||t.type!=="JSXNamespacedName"?!1:e==null||(0,i.default)(t,e)}r(Cr,"isJSXNamespacedName"),n(Cr,"isJSXNamespacedName");function _r(t,e){return!t||t.type!=="JSXOpeningElement"?!1:e==null||(0,i.default)(t,e)}r(_r,"isJSXOpeningElement"),n(_r,"isJSXOpeningElement");function Br(t,e){return!t||t.type!=="JSXSpreadAttribute"?!1:e==null||(0,i.default)(t,e)}r(Br,"isJSXSpreadAttribute"),n(Br,"isJSXSpreadAttribute");function Mr(t,e){return!t||t.type!=="JSXText"?!1:e==null||(0,i.default)(t,e)}r(Mr,"isJSXText"),n(Mr,"isJSXText");function jr(t,e){return!t||t.type!=="JSXFragment"?!1:e==null||(0,i.default)(t,e)}r(jr,"isJSXFragment"),n(jr,"isJSXFragment");function wr(t,e){return!t||t.type!=="JSXOpeningFragment"?!1:e==null||(0,i.default)(t,e)}r(wr,"isJSXOpeningFragment"),n(wr,"isJSXOpeningFragment");function Fr(t,e){return!t||t.type!=="JSXClosingFragment"?!1:e==null||(0,i.default)(t,e)}r(Fr,"isJSXClosingFragment"),n(Fr,"isJSXClosingFragment");function Rr(t,e){return!t||t.type!=="Noop"?!1:e==null||(0,i.default)(t,e)}r(Rr,"isNoop"),n(Rr,"isNoop");function kr(t,e){return!t||t.type!=="Placeholder"?!1:e==null||(0,i.default)(t,e)}r(kr,"isPlaceholder"),n(kr,"isPlaceholder");function Kr(t,e){return!t||t.type!=="V8IntrinsicIdentifier"?!1:e==null||(0,i.default)(t,e)}r(Kr,"isV8IntrinsicIdentifier"),n(Kr,"isV8IntrinsicIdentifier");function qr(t,e){return!t||t.type!=="ArgumentPlaceholder"?!1:e==null||(0,i.default)(t,e)}r(qr,"isArgumentPlaceholder"),n(qr,"isArgumentPlaceholder");function Vr(t,e){return!t||t.type!=="BindExpression"?!1:e==null||(0,i.default)(t,e)}r(Vr,"isBindExpression"),n(Vr,"isBindExpression");function Xr(t,e){return!t||t.type!=="Decorator"?!1:e==null||(0,i.default)(t,e)}r(Xr,"isDecorator"),n(Xr,"isDecorator");function Yr(t,e){return!t||t.type!=="DoExpression"?!1:e==null||(0,i.default)(t,e)}r(Yr,"isDoExpression"),n(Yr,"isDoExpression");function Jr(t,e){return!t||t.type!=="ExportDefaultSpecifier"?!1:e==null||(0,i.default)(t,e)}r(Jr,"isExportDefaultSpecifier"),n(Jr,"isExportDefaultSpecifier");function Ur(t,e){return!t||t.type!=="RecordExpression"?!1:e==null||(0,i.default)(t,e)}r(Ur,"isRecordExpression"),n(Ur,"isRecordExpression");function Wr(t,e){return!t||t.type!=="TupleExpression"?!1:e==null||(0,i.default)(t,e)}r(Wr,"isTupleExpression"),n(Wr,"isTupleExpression");function Gr(t,e){return!t||t.type!=="DecimalLiteral"?!1:e==null||(0,i.default)(t,e)}r(Gr,"isDecimalLiteral"),n(Gr,"isDecimalLiteral");function zr(t,e){return!t||t.type!=="ModuleExpression"?!1:e==null||(0,i.default)(t,e)}r(zr,"isModuleExpression"),n(zr,"isModuleExpression");function Qr(t,e){return!t||t.type!=="TopicReference"?!1:e==null||(0,i.default)(t,e)}r(Qr,"isTopicReference"),n(Qr,"isTopicReference");function $r(t,e){return!t||t.type!=="PipelineTopicExpression"?!1:e==null||(0,i.default)(t,e)}r($r,"isPipelineTopicExpression"),n($r,"isPipelineTopicExpression");function Hr(t,e){return!t||t.type!=="PipelineBareFunction"?!1:e==null||(0,i.default)(t,e)}r(Hr,"isPipelineBareFunction"),n(Hr,"isPipelineBareFunction");function Zr(t,e){return!t||t.type!=="PipelinePrimaryTopicReference"?!1:e==null||(0,i.default)(t,e)}r(Zr,"isPipelinePrimaryTopicReference"),n(Zr,"isPipelinePrimaryTopicReference");function en(t,e){return!t||t.type!=="VoidPattern"?!1:e==null||(0,i.default)(t,e)}r(en,"isVoidPattern"),n(en,"isVoidPattern");function tn(t,e){return!t||t.type!=="TSParameterProperty"?!1:e==null||(0,i.default)(t,e)}r(tn,"isTSParameterProperty"),n(tn,"isTSParameterProperty");function rn(t,e){return!t||t.type!=="TSDeclareFunction"?!1:e==null||(0,i.default)(t,e)}r(rn,"isTSDeclareFunction"),n(rn,"isTSDeclareFunction");function nn(t,e){return!t||t.type!=="TSDeclareMethod"?!1:e==null||(0,i.default)(t,e)}r(nn,"isTSDeclareMethod"),n(nn,"isTSDeclareMethod");function an(t,e){return!t||t.type!=="TSQualifiedName"?!1:e==null||(0,i.default)(t,e)}r(an,"isTSQualifiedName"),n(an,"isTSQualifiedName");function sn(t,e){return!t||t.type!=="TSCallSignatureDeclaration"?!1:e==null||(0,i.default)(t,e)}r(sn,"isTSCallSignatureDeclaration"),n(sn,"isTSCallSignatureDeclaration");function on(t,e){return!t||t.type!=="TSConstructSignatureDeclaration"?!1:e==null||(0,i.default)(t,e)}r(on,"isTSConstructSignatureDeclaration"),n(on,"isTSConstructSignatureDeclaration");function ln(t,e){return!t||t.type!=="TSPropertySignature"?!1:e==null||(0,i.default)(t,e)}r(ln,"isTSPropertySignature"),n(ln,"isTSPropertySignature");function pn(t,e){return!t||t.type!=="TSMethodSignature"?!1:e==null||(0,i.default)(t,e)}r(pn,"isTSMethodSignature"),n(pn,"isTSMethodSignature");function un(t,e){return!t||t.type!=="TSIndexSignature"?!1:e==null||(0,i.default)(t,e)}r(un,"isTSIndexSignature"),n(un,"isTSIndexSignature");function cn(t,e){return!t||t.type!=="TSAnyKeyword"?!1:e==null||(0,i.default)(t,e)}r(cn,"isTSAnyKeyword"),n(cn,"isTSAnyKeyword");function dn(t,e){return!t||t.type!=="TSBooleanKeyword"?!1:e==null||(0,i.default)(t,e)}r(dn,"isTSBooleanKeyword"),n(dn,"isTSBooleanKeyword");function yn(t,e){return!t||t.type!=="TSBigIntKeyword"?!1:e==null||(0,i.default)(t,e)}r(yn,"isTSBigIntKeyword"),n(yn,"isTSBigIntKeyword");function fn(t,e){return!t||t.type!=="TSIntrinsicKeyword"?!1:e==null||(0,i.default)(t,e)}r(fn,"isTSIntrinsicKeyword"),n(fn,"isTSIntrinsicKeyword");function Tn(t,e){return!t||t.type!=="TSNeverKeyword"?!1:e==null||(0,i.default)(t,e)}r(Tn,"isTSNeverKeyword"),n(Tn,"isTSNeverKeyword");function mn(t,e){return!t||t.type!=="TSNullKeyword"?!1:e==null||(0,i.default)(t,e)}r(mn,"isTSNullKeyword"),n(mn,"isTSNullKeyword");function Sn(t,e){return!t||t.type!=="TSNumberKeyword"?!1:e==null||(0,i.default)(t,e)}r(Sn,"isTSNumberKeyword"),n(Sn,"isTSNumberKeyword");function En(t,e){return!t||t.type!=="TSObjectKeyword"?!1:e==null||(0,i.default)(t,e)}r(En,"isTSObjectKeyword"),n(En,"isTSObjectKeyword");function bn(t,e){return!t||t.type!=="TSStringKeyword"?!1:e==null||(0,i.default)(t,e)}r(bn,"isTSStringKeyword"),n(bn,"isTSStringKeyword");function vn(t,e){return!t||t.type!=="TSSymbolKeyword"?!1:e==null||(0,i.default)(t,e)}r(vn,"isTSSymbolKeyword"),n(vn,"isTSSymbolKeyword");function Pn(t,e){return!t||t.type!=="TSUndefinedKeyword"?!1:e==null||(0,i.default)(t,e)}r(Pn,"isTSUndefinedKeyword"),n(Pn,"isTSUndefinedKeyword");function An(t,e){return!t||t.type!=="TSUnknownKeyword"?!1:e==null||(0,i.default)(t,e)}r(An,"isTSUnknownKeyword"),n(An,"isTSUnknownKeyword");function xn(t,e){return!t||t.type!=="TSVoidKeyword"?!1:e==null||(0,i.default)(t,e)}r(xn,"isTSVoidKeyword"),n(xn,"isTSVoidKeyword");function gn(t,e){return!t||t.type!=="TSThisType"?!1:e==null||(0,i.default)(t,e)}r(gn,"isTSThisType"),n(gn,"isTSThisType");function In(t,e){return!t||t.type!=="TSFunctionType"?!1:e==null||(0,i.default)(t,e)}r(In,"isTSFunctionType"),n(In,"isTSFunctionType");function On(t,e){return!t||t.type!=="TSConstructorType"?!1:e==null||(0,i.default)(t,e)}r(On,"isTSConstructorType"),n(On,"isTSConstructorType");function Dn(t,e){return!t||t.type!=="TSTypeReference"?!1:e==null||(0,i.default)(t,e)}r(Dn,"isTSTypeReference"),n(Dn,"isTSTypeReference");function hn(t,e){return!t||t.type!=="TSTypePredicate"?!1:e==null||(0,i.default)(t,e)}r(hn,"isTSTypePredicate"),n(hn,"isTSTypePredicate");function Nn(t,e){return!t||t.type!=="TSTypeQuery"?!1:e==null||(0,i.default)(t,e)}r(Nn,"isTSTypeQuery"),n(Nn,"isTSTypeQuery");function Ln(t,e){return!t||t.type!=="TSTypeLiteral"?!1:e==null||(0,i.default)(t,e)}r(Ln,"isTSTypeLiteral"),n(Ln,"isTSTypeLiteral");function Cn(t,e){return!t||t.type!=="TSArrayType"?!1:e==null||(0,i.default)(t,e)}r(Cn,"isTSArrayType"),n(Cn,"isTSArrayType");function _n(t,e){return!t||t.type!=="TSTupleType"?!1:e==null||(0,i.default)(t,e)}r(_n,"isTSTupleType"),n(_n,"isTSTupleType");function Bn(t,e){return!t||t.type!=="TSOptionalType"?!1:e==null||(0,i.default)(t,e)}r(Bn,"isTSOptionalType"),n(Bn,"isTSOptionalType");function Mn(t,e){return!t||t.type!=="TSRestType"?!1:e==null||(0,i.default)(t,e)}r(Mn,"isTSRestType"),n(Mn,"isTSRestType");function jn(t,e){return!t||t.type!=="TSNamedTupleMember"?!1:e==null||(0,i.default)(t,e)}r(jn,"isTSNamedTupleMember"),n(jn,"isTSNamedTupleMember");function wn(t,e){return!t||t.type!=="TSUnionType"?!1:e==null||(0,i.default)(t,e)}r(wn,"isTSUnionType"),n(wn,"isTSUnionType");function Fn(t,e){return!t||t.type!=="TSIntersectionType"?!1:e==null||(0,i.default)(t,e)}r(Fn,"isTSIntersectionType"),n(Fn,"isTSIntersectionType");function Rn(t,e){return!t||t.type!=="TSConditionalType"?!1:e==null||(0,i.default)(t,e)}r(Rn,"isTSConditionalType"),n(Rn,"isTSConditionalType");function kn(t,e){return!t||t.type!=="TSInferType"?!1:e==null||(0,i.default)(t,e)}r(kn,"isTSInferType"),n(kn,"isTSInferType");function Kn(t,e){return!t||t.type!=="TSParenthesizedType"?!1:e==null||(0,i.default)(t,e)}r(Kn,"isTSParenthesizedType"),n(Kn,"isTSParenthesizedType");function qn(t,e){return!t||t.type!=="TSTypeOperator"?!1:e==null||(0,i.default)(t,e)}r(qn,"isTSTypeOperator"),n(qn,"isTSTypeOperator");function Vn(t,e){return!t||t.type!=="TSIndexedAccessType"?!1:e==null||(0,i.default)(t,e)}r(Vn,"isTSIndexedAccessType"),n(Vn,"isTSIndexedAccessType");function Xn(t,e){return!t||t.type!=="TSMappedType"?!1:e==null||(0,i.default)(t,e)}r(Xn,"isTSMappedType"),n(Xn,"isTSMappedType");function Yn(t,e){return!t||t.type!=="TSTemplateLiteralType"?!1:e==null||(0,i.default)(t,e)}r(Yn,"isTSTemplateLiteralType"),n(Yn,"isTSTemplateLiteralType");function Jn(t,e){return!t||t.type!=="TSLiteralType"?!1:e==null||(0,i.default)(t,e)}r(Jn,"isTSLiteralType"),n(Jn,"isTSLiteralType");function Un(t,e){return!t||t.type!=="TSExpressionWithTypeArguments"?!1:e==null||(0,i.default)(t,e)}r(Un,"isTSExpressionWithTypeArguments"),n(Un,"isTSExpressionWithTypeArguments");function Wn(t,e){return!t||t.type!=="TSInterfaceDeclaration"?!1:e==null||(0,i.default)(t,e)}r(Wn,"isTSInterfaceDeclaration"),n(Wn,"isTSInterfaceDeclaration");function Gn(t,e){return!t||t.type!=="TSInterfaceBody"?!1:e==null||(0,i.default)(t,e)}r(Gn,"isTSInterfaceBody"),n(Gn,"isTSInterfaceBody");function zn(t,e){return!t||t.type!=="TSTypeAliasDeclaration"?!1:e==null||(0,i.default)(t,e)}r(zn,"isTSTypeAliasDeclaration"),n(zn,"isTSTypeAliasDeclaration");function Qn(t,e){return!t||t.type!=="TSInstantiationExpression"?!1:e==null||(0,i.default)(t,e)}r(Qn,"isTSInstantiationExpression"),n(Qn,"isTSInstantiationExpression");function $n(t,e){return!t||t.type!=="TSAsExpression"?!1:e==null||(0,i.default)(t,e)}r($n,"isTSAsExpression"),n($n,"isTSAsExpression");function Hn(t,e){return!t||t.type!=="TSSatisfiesExpression"?!1:e==null||(0,i.default)(t,e)}r(Hn,"isTSSatisfiesExpression"),n(Hn,"isTSSatisfiesExpression");function Zn(t,e){return!t||t.type!=="TSTypeAssertion"?!1:e==null||(0,i.default)(t,e)}r(Zn,"isTSTypeAssertion"),n(Zn,"isTSTypeAssertion");function ea(t,e){return!t||t.type!=="TSEnumBody"?!1:e==null||(0,i.default)(t,e)}r(ea,"isTSEnumBody"),n(ea,"isTSEnumBody");function ta(t,e){return!t||t.type!=="TSEnumDeclaration"?!1:e==null||(0,i.default)(t,e)}r(ta,"isTSEnumDeclaration"),n(ta,"isTSEnumDeclaration");function ra(t,e){return!t||t.type!=="TSEnumMember"?!1:e==null||(0,i.default)(t,e)}r(ra,"isTSEnumMember"),n(ra,"isTSEnumMember");function na(t,e){return!t||t.type!=="TSModuleDeclaration"?!1:e==null||(0,i.default)(t,e)}r(na,"isTSModuleDeclaration"),n(na,"isTSModuleDeclaration");function aa(t,e){return!t||t.type!=="TSModuleBlock"?!1:e==null||(0,i.default)(t,e)}r(aa,"isTSModuleBlock"),n(aa,"isTSModuleBlock");function ia(t,e){return!t||t.type!=="TSImportType"?!1:e==null||(0,i.default)(t,e)}r(ia,"isTSImportType"),n(ia,"isTSImportType");function sa(t,e){return!t||t.type!=="TSImportEqualsDeclaration"?!1:e==null||(0,i.default)(t,e)}r(sa,"isTSImportEqualsDeclaration"),n(sa,"isTSImportEqualsDeclaration");function oa(t,e){return!t||t.type!=="TSExternalModuleReference"?!1:e==null||(0,i.default)(t,e)}r(oa,"isTSExternalModuleReference"),n(oa,"isTSExternalModuleReference");function la(t,e){return!t||t.type!=="TSNonNullExpression"?!1:e==null||(0,i.default)(t,e)}r(la,"isTSNonNullExpression"),n(la,"isTSNonNullExpression");function pa(t,e){return!t||t.type!=="TSExportAssignment"?!1:e==null||(0,i.default)(t,e)}r(pa,"isTSExportAssignment"),n(pa,"isTSExportAssignment");function ua(t,e){return!t||t.type!=="TSNamespaceExportDeclaration"?!1:e==null||(0,i.default)(t,e)}r(ua,"isTSNamespaceExportDeclaration"),n(ua,"isTSNamespaceExportDeclaration");function ca(t,e){return!t||t.type!=="TSTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(ca,"isTSTypeAnnotation"),n(ca,"isTSTypeAnnotation");function da(t,e){return!t||t.type!=="TSTypeParameterInstantiation"?!1:e==null||(0,i.default)(t,e)}r(da,"isTSTypeParameterInstantiation"),n(da,"isTSTypeParameterInstantiation");function ya(t,e){return!t||t.type!=="TSTypeParameterDeclaration"?!1:e==null||(0,i.default)(t,e)}r(ya,"isTSTypeParameterDeclaration"),n(ya,"isTSTypeParameterDeclaration");function fa(t,e){return!t||t.type!=="TSTypeParameter"?!1:e==null||(0,i.default)(t,e)}r(fa,"isTSTypeParameter"),n(fa,"isTSTypeParameter");function Ta(t,e){if(!t)return!1;switch(t.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportExpression":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":case"ImportAttribute":break;case"Placeholder":switch(t.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ta,"isStandardized"),n(Ta,"isStandardized");function ma(t,e){if(!t)return!1;switch(t.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(t.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return e==null||(0,i.default)(t,e)}r(ma,"isExpression"),n(ma,"isExpression");function Sa(t,e){if(!t)return!1;switch(t.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Sa,"isBinary"),n(Sa,"isBinary");function Ea(t,e){if(!t)return!1;switch(t.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(t.expectedNode==="BlockStatement")break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ea,"isScopable"),n(Ea,"isScopable");function ba(t,e){if(!t)return!1;switch(t.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(t.expectedNode==="BlockStatement")break;default:return!1}return e==null||(0,i.default)(t,e)}r(ba,"isBlockParent"),n(ba,"isBlockParent");function va(t,e){if(!t)return!1;switch(t.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(t.expectedNode==="BlockStatement")break;default:return!1}return e==null||(0,i.default)(t,e)}r(va,"isBlock"),n(va,"isBlock");function Pa(t,e){if(!t)return!1;switch(t.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(t.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return e==null||(0,i.default)(t,e)}r(Pa,"isStatement"),n(Pa,"isStatement");function l(t,e){if(!t)return!1;switch(t.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return e==null||(0,i.default)(t,e)}r(l,"isTerminatorless"),n(l,"isTerminatorless");function p(t,e){if(!t)return!1;switch(t.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return e==null||(0,i.default)(t,e)}r(p,"isCompletionStatement"),n(p,"isCompletionStatement");function c(t,e){if(!t)return!1;switch(t.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return e==null||(0,i.default)(t,e)}r(c,"isConditional"),n(c,"isConditional");function m(t,e){if(!t)return!1;switch(t.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return e==null||(0,i.default)(t,e)}r(m,"isLoop"),n(m,"isLoop");function v(t,e){if(!t)return!1;switch(t.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return e==null||(0,i.default)(t,e)}r(v,"isWhile"),n(v,"isWhile");function O(t,e){if(!t)return!1;switch(t.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return e==null||(0,i.default)(t,e)}r(O,"isExpressionWrapper"),n(O,"isExpressionWrapper");function R(t,e){if(!t)return!1;switch(t.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return e==null||(0,i.default)(t,e)}r(R,"isFor"),n(R,"isFor");function z(t,e){if(!t)return!1;switch(t.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return e==null||(0,i.default)(t,e)}r(z,"isForXStatement"),n(z,"isForXStatement");function ne(t,e){if(!t)return!1;switch(t.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return e==null||(0,i.default)(t,e)}r(ne,"isFunction"),n(ne,"isFunction");function ye(t,e){if(!t)return!1;switch(t.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return e==null||(0,i.default)(t,e)}r(ye,"isFunctionParent"),n(ye,"isFunctionParent");function La(t,e){if(!t)return!1;switch(t.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(t.expectedNode==="StringLiteral")break;default:return!1}return e==null||(0,i.default)(t,e)}r(La,"isPureish"),n(La,"isPureish");function Ca(t,e){if(!t)return!1;switch(t.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":break;case"Placeholder":if(t.expectedNode==="Declaration")break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ca,"isDeclaration"),n(Ca,"isDeclaration");function _a(t,e){if(!t)return!1;switch(t.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if(t.expectedNode==="Identifier")break;default:return!1}return e==null||(0,i.default)(t,e)}r(_a,"isFunctionParameter"),n(_a,"isFunctionParameter");function Ba(t,e){if(!t)return!1;switch(t.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(t.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ba,"isPatternLike"),n(Ba,"isPatternLike");function Ma(t,e){if(!t)return!1;switch(t.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(t.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ma,"isLVal"),n(Ma,"isLVal");function ja(t,e){if(!t)return!1;switch(t.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(t.expectedNode==="Identifier")break;default:return!1}return e==null||(0,i.default)(t,e)}r(ja,"isTSEntityName"),n(ja,"isTSEntityName");function wa(t,e){if(!t)return!1;switch(t.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(t.expectedNode==="StringLiteral")break;default:return!1}return e==null||(0,i.default)(t,e)}r(wa,"isLiteral"),n(wa,"isLiteral");function Fa(t,e){if(!t)return!1;switch(t.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(t.expectedNode==="StringLiteral")break;default:return!1}return e==null||(0,i.default)(t,e)}r(Fa,"isImmutable"),n(Fa,"isImmutable");function Ra(t,e){if(!t)return!1;switch(t.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ra,"isUserWhitespacable"),n(Ra,"isUserWhitespacable");function ka(t,e){if(!t)return!1;switch(t.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return e==null||(0,i.default)(t,e)}r(ka,"isMethod"),n(ka,"isMethod");function Ka(t,e){if(!t)return!1;switch(t.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ka,"isObjectMember"),n(Ka,"isObjectMember");function qa(t,e){if(!t)return!1;switch(t.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return e==null||(0,i.default)(t,e)}r(qa,"isProperty"),n(qa,"isProperty");function Va(t,e){if(!t)return!1;switch(t.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Va,"isUnaryLike"),n(Va,"isUnaryLike");function Xa(t,e){if(!t)return!1;switch(t.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if(t.expectedNode==="Pattern")break;default:return!1}return e==null||(0,i.default)(t,e)}r(Xa,"isPattern"),n(Xa,"isPattern");function Ya(t,e){if(!t)return!1;switch(t.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ya,"isClass"),n(Ya,"isClass");function Oa(t,e){if(!t)return!1;switch(t.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Oa,"isImportOrExportDeclaration"),n(Oa,"isImportOrExportDeclaration");function Ja(t,e){if(!t)return!1;switch(t.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ja,"isExportDeclaration"),n(Ja,"isExportDeclaration");function Ua(t,e){if(!t)return!1;switch(t.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ua,"isModuleSpecifier"),n(Ua,"isModuleSpecifier");function Wa(t,e){return!t||t.type!=="ClassAccessorProperty"?!1:e==null||(0,i.default)(t,e)}r(Wa,"isAccessor"),n(Wa,"isAccessor");function Ga(t,e){if(!t)return!1;switch(t.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ga,"isPrivate"),n(Ga,"isPrivate");function za(t,e){if(!t)return!1;switch(t.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 e==null||(0,i.default)(t,e)}r(za,"isFlow"),n(za,"isFlow");function Qa(t,e){if(!t)return!1;switch(t.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 e==null||(0,i.default)(t,e)}r(Qa,"isFlowType"),n(Qa,"isFlowType");function $a(t,e){if(!t)return!1;switch(t.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 e==null||(0,i.default)(t,e)}r($a,"isFlowBaseAnnotation"),n($a,"isFlowBaseAnnotation");function Ha(t,e){if(!t)return!1;switch(t.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 e==null||(0,i.default)(t,e)}r(Ha,"isFlowDeclaration"),n(Ha,"isFlowDeclaration");function Za(t,e){if(!t)return!1;switch(t.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Za,"isFlowPredicate"),n(Za,"isFlowPredicate");function ei(t,e){if(!t)return!1;switch(t.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return e==null||(0,i.default)(t,e)}r(ei,"isEnumBody"),n(ei,"isEnumBody");function ti(t,e){if(!t)return!1;switch(t.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return e==null||(0,i.default)(t,e)}r(ti,"isEnumMember"),n(ti,"isEnumMember");function ri(t,e){if(!t)return!1;switch(t.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 e==null||(0,i.default)(t,e)}r(ri,"isJSX"),n(ri,"isJSX");function ni(t,e){if(!t)return!1;switch(t.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return e==null||(0,i.default)(t,e)}r(ni,"isMiscellaneous"),n(ni,"isMiscellaneous");function ai(t,e){if(!t)return!1;switch(t.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumBody":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return e==null||(0,i.default)(t,e)}r(ai,"isTypeScript"),n(ai,"isTypeScript");function ii(t,e){if(!t)return!1;switch(t.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return e==null||(0,i.default)(t,e)}r(ii,"isTSTypeElement"),n(ii,"isTSTypeElement");function si(t,e){if(!t)return!1;switch(t.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return e==null||(0,i.default)(t,e)}r(si,"isTSType"),n(si,"isTSType");function oi(t,e){if(!t)return!1;switch(t.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSTemplateLiteralType":case"TSLiteralType":break;default:return!1}return e==null||(0,i.default)(t,e)}r(oi,"isTSBaseType"),n(oi,"isTSBaseType");function li(t,e){return(0,o.default)("isNumberLiteral","isNumericLiteral"),!t||t.type!=="NumberLiteral"?!1:e==null||(0,i.default)(t,e)}r(li,"isNumberLiteral"),n(li,"isNumberLiteral");function pi(t,e){return(0,o.default)("isRegexLiteral","isRegExpLiteral"),!t||t.type!=="RegexLiteral"?!1:e==null||(0,i.default)(t,e)}r(pi,"isRegexLiteral"),n(pi,"isRegexLiteral");function ui(t,e){return(0,o.default)("isRestProperty","isRestElement"),!t||t.type!=="RestProperty"?!1:e==null||(0,i.default)(t,e)}r(ui,"isRestProperty"),n(ui,"isRestProperty");function ci(t,e){return(0,o.default)("isSpreadProperty","isSpreadElement"),!t||t.type!=="SpreadProperty"?!1:e==null||(0,i.default)(t,e)}r(ci,"isSpreadProperty"),n(ci,"isSpreadProperty");function di(t,e){return(0,o.default)("isModuleDeclaration","isImportOrExportDeclaration"),Oa(t,e)}return r(di,"isModuleDeclaration"),n(di,"isModuleDeclaration"),E}r(ie,"requireGenerated$3");var $s;function wl(){if($s)return Ii;$s=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"a");Object.defineProperty(Ii,"__esModule",{value:!0}),Ii.default=s;var i=ie();function o(a){return(0,i.isMemberExpression)(a)||(0,i.isMetaProperty)(a)}r(o,"isMemberExpressionLike"),n(o,"isMemberExpressionLike");function s(a,d,f){if(!o(a))return!1;const x=Array.isArray(d)?d:d.split("."),P=[];let g;for(g=a;o(g);g=(I=g.object)!=null?I:g.meta){var I;P.push(g.property)}if(P.push(g),P.length<x.length||!f&&P.length>x.length)return!1;for(let A=0,D=P.length-1;A<x.length;A++,D--){const C=P[D];let h;if((0,i.isIdentifier)(C))h=C.name;else if((0,i.isStringLiteral)(C))h=C.value;else if((0,i.isThisExpression)(C))h="this";else if((0,i.isSuper)(C))h="super";else if((0,i.isPrivateName)(C))h="#"+C.id.name;else return!1;if(x[A]!==h)return!1}return!0}return r(s,"matchesPattern$1"),n(s,"matchesPattern"),Ii}r(wl,"requireMatchesPattern");var Hs;function Fl(){if(Hs)return gi;Hs=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"r");Object.defineProperty(gi,"__esModule",{value:!0}),gi.default=o;var i=wl();function o(s,a){const d=s.split(".");return f=>(0,i.default)(f,d,a)}return r(o,"buildMatchMemberExpression$1"),n(o,"buildMatchMemberExpression"),gi}r(Fl,"requireBuildMatchMemberExpression");var Zs;function up(){if(Zs)return yi;Zs=1,Object.defineProperty(yi,"__esModule",{value:!0}),yi.default=void 0;var T=Fl();const n=(0,T.default)("React.Component");return yi.default=n,yi}r(up,"requireIsReactComponent");var hi={},eo;function cp(){if(eo)return hi;eo=1;var T=Object.defineProperty,n=r((o,s)=>T(o,"name",{value:s,configurable:!0}),"t");Object.defineProperty(hi,"__esModule",{value:!0}),hi.default=i;function i(o){return!!o&&/^[a-z]/.test(o)}return r(i,"isCompatTag$1"),n(i,"isCompatTag"),hi}r(cp,"requireIsCompatTag");var Ni={},Li={},Ms={},S={},ga={},js={},se={},Ci={},_i={},to;function ks(){if(to)return _i;to=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"i");Object.defineProperty(_i,"__esModule",{value:!0}),_i.default=o;var i=Ee();function o(s,a){if(s===a)return!0;if(s==null||i.ALIAS_KEYS[a])return!1;const d=i.FLIPPED_ALIAS_KEYS[a];return!!(d!=null&&d.includes(s))}return r(o,"isType$1"),n(o,"isType"),_i}r(ks,"requireIsType");var Bi={},ro;function Rl(){if(ro)return Bi;ro=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"t");Object.defineProperty(Bi,"__esModule",{value:!0}),Bi.default=o;var i=Ee();function o(s,a){if(s===a)return!0;const d=i.PLACEHOLDERS_ALIAS[s];return!!(d!=null&&d.includes(a))}return r(o,"isPlaceholderType$1"),n(o,"isPlaceholderType"),Bi}r(Rl,"requireIsPlaceholderType");var no;function Pi(){if(no)return Ci;no=1;var T=Object.defineProperty,n=r((f,x)=>T(f,"name",{value:x,configurable:!0}),"u");Object.defineProperty(Ci,"__esModule",{value:!0}),Ci.default=d;var i=Rs(),o=ks(),s=Rl(),a=Ee();function d(f,x,P){return x?(0,o.default)(x.type,f)?P===void 0?!0:(0,i.default)(x,P):!P&&x.type==="Placeholder"&&f in a.FLIPPED_ALIAS_KEYS?(0,s.default)(x.expectedNode,f):!1:!1}return r(d,"is$1"),n(d,"is"),Ci}r(Pi,"requireIs");var Mi={},ws={},Da={},ao;function dp(){if(ao)return Da;ao=1;var T=Object.defineProperty,n=r((A,D)=>T(A,"name",{value:D,configurable:!0}),"b");Object.defineProperty(Da,"__esModule",{value:!0}),Da.isIdentifierChar=g,Da.isIdentifierName=I,Da.isIdentifierStart=P;let i="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ--ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",o="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ--ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const s=new RegExp("["+i+"]"),a=new RegExp("["+i+o+"]");i=o=null;const d=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,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,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],f=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function x(A,D){let C=65536;for(let h=0,K=D.length;h<K;h+=2){if(C+=D[h],C>A)return!1;if(C+=D[h+1],C>=A)return!0}return!1}r(x,"isInAstralSet"),n(x,"isInAstralSet");function P(A){return A<65?A===36:A<=90?!0:A<97?A===95:A<=122?!0:A<=65535?A>=170&&s.test(String.fromCharCode(A)):x(A,d)}r(P,"isIdentifierStart"),n(P,"isIdentifierStart");function g(A){return A<48?A===36:A<58?!0:A<65?!1:A<=90?!0:A<97?A===95:A<=122?!0:A<=65535?A>=170&&a.test(String.fromCharCode(A)):x(A,d)||x(A,f)}r(g,"isIdentifierChar"),n(g,"isIdentifierChar");function I(A){let D=!0;for(let C=0;C<A.length;C++){let h=A.charCodeAt(C);if((h&64512)===55296&&C+1<A.length){const K=A.charCodeAt(++C);(K&64512)===56320&&(h=65536+((h&1023)<<10)+(K&1023))}if(D){if(D=!1,!P(h))return!1}else if(!g(h))return!1}return!D}return r(I,"isIdentifierName"),n(I,"isIdentifierName"),Da}r(dp,"requireIdentifier");var Aa={},io;function yp(){if(io)return Aa;io=1;var T=Object.defineProperty,n=r((I,A)=>T(I,"name",{value:A,configurable:!0}),"r");Object.defineProperty(Aa,"__esModule",{value:!0}),Aa.isKeyword=g,Aa.isReservedWord=d,Aa.isStrictBindOnlyReservedWord=x,Aa.isStrictBindReservedWord=P,Aa.isStrictReservedWord=f;const i={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"]},o=new Set(i.keyword),s=new Set(i.strict),a=new Set(i.strictBind);function d(I,A){return A&&I==="await"||I==="enum"}r(d,"isReservedWord"),n(d,"isReservedWord");function f(I,A){return d(I,A)||s.has(I)}r(f,"isStrictReservedWord"),n(f,"isStrictReservedWord");function x(I){return a.has(I)}r(x,"isStrictBindOnlyReservedWord"),n(x,"isStrictBindOnlyReservedWord");function P(I,A){return f(I,A)||x(I)}r(P,"isStrictBindReservedWord"),n(P,"isStrictBindReservedWord");function g(I){return o.has(I)}return r(g,"isKeyword"),n(g,"isKeyword"),Aa}r(yp,"requireKeyword");var so;function Ks(){return so||(so=1,(function(T){var n=Object.defineProperty,i=r((a,d)=>n(a,"name",{value:d,configurable:!0}),"e");Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"isIdentifierChar",{enumerable:!0,get:i(function(){return o.isIdentifierChar},"get")}),Object.defineProperty(T,"isIdentifierName",{enumerable:!0,get:i(function(){return o.isIdentifierName},"get")}),Object.defineProperty(T,"isIdentifierStart",{enumerable:!0,get:i(function(){return o.isIdentifierStart},"get")}),Object.defineProperty(T,"isKeyword",{enumerable:!0,get:i(function(){return s.isKeyword},"get")}),Object.defineProperty(T,"isReservedWord",{enumerable:!0,get:i(function(){return s.isReservedWord},"get")}),Object.defineProperty(T,"isStrictBindOnlyReservedWord",{enumerable:!0,get:i(function(){return s.isStrictBindOnlyReservedWord},"get")}),Object.defineProperty(T,"isStrictBindReservedWord",{enumerable:!0,get:i(function(){return s.isStrictBindReservedWord},"get")}),Object.defineProperty(T,"isStrictReservedWord",{enumerable:!0,get:i(function(){return s.isStrictReservedWord},"get")});var o=dp(),s=yp()})(ws)),ws}r(Ks,"requireLib$2");var oo;function Ai(){if(oo)return Mi;oo=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"i");Object.defineProperty(Mi,"__esModule",{value:!0}),Mi.default=o;var i=Ks();function o(s,a=!0){return typeof s!="string"||a&&((0,i.isKeyword)(s)||(0,i.isStrictReservedWord)(s,!0))?!1:(0,i.isIdentifierName)(s)}return r(o,"isValidIdentifier$1"),n(o,"isValidIdentifier"),Mi}r(Ai,"requireIsValidIdentifier");var ha={},lo;function fp(){if(lo)return ha;lo=1;var T=Object.defineProperty,n=r((I,A)=>T(I,"name",{value:A,configurable:!0}),"s");Object.defineProperty(ha,"__esModule",{value:!0}),ha.readCodePoint=g,ha.readInt=P,ha.readStringContents=a;var i=n(function(I){return I>=48&&I<=57},"isDigit");const o={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},s={bin:n(I=>I===48||I===49,"bin"),oct:n(I=>I>=48&&I<=55,"oct"),dec:n(I=>I>=48&&I<=57,"dec"),hex:n(I=>I>=48&&I<=57||I>=65&&I<=70||I>=97&&I<=102,"hex")};function a(I,A,D,C,h,K){const N=D,M=C,_=h;let B="",F=null,Y=D;const{length:H}=A;for(;;){if(D>=H){K.unterminated(N,M,_),B+=A.slice(Y,D);break}const Z=A.charCodeAt(D);if(d(I,Z,A,D)){B+=A.slice(Y,D);break}if(Z===92){B+=A.slice(Y,D);const ee=f(A,D,C,h,I==="template",K);ee.ch===null&&!F?F={pos:D,lineStart:C,curLine:h}:B+=ee.ch,{pos:D,lineStart:C,curLine:h}=ee,Y=D}else Z===8232||Z===8233?(++D,++h,C=D):Z===10||Z===13?I==="template"?(B+=A.slice(Y,D)+`
|
|
4
|
+
`,++D,Z===13&&A.charCodeAt(D)===10&&++D,++h,Y=C=D):K.unterminated(N,M,_):++D}return{pos:D,str:B,firstInvalidLoc:F,lineStart:C,curLine:h,containsInvalid:!!F}}r(a,"readStringContents"),n(a,"readStringContents");function d(I,A,D,C){return I==="template"?A===96||A===36&&D.charCodeAt(C+1)===123:A===(I==="double"?34:39)}r(d,"isStringEnd"),n(d,"isStringEnd");function f(I,A,D,C,h,K){const N=!h;A++;const M=n(B=>({pos:A,ch:B,lineStart:D,curLine:C}),"res"),_=I.charCodeAt(A++);switch(_){case 110:return M(`
|
|
5
|
+
`);case 114:return M("\r");case 120:{let B;return{code:B,pos:A}=x(I,A,D,C,2,!1,N,K),M(B===null?null:String.fromCharCode(B))}case 117:{let B;return{code:B,pos:A}=g(I,A,D,C,N,K),M(B===null?null:String.fromCodePoint(B))}case 116:return M(" ");case 98:return M("\b");case 118:return M("\v");case 102:return M("\f");case 13:I.charCodeAt(A)===10&&++A;case 10:D=A,++C;case 8232:case 8233:return M("");case 56:case 57:if(h)return M(null);K.strictNumericEscape(A-1,D,C);default:if(_>=48&&_<=55){const B=A-1;let F=/^[0-7]+/.exec(I.slice(B,A+2))[0],Y=parseInt(F,8);Y>255&&(F=F.slice(0,-1),Y=parseInt(F,8)),A+=F.length-1;const H=I.charCodeAt(A);if(F!=="0"||H===56||H===57){if(h)return M(null);K.strictNumericEscape(B,D,C)}return M(String.fromCharCode(Y))}return M(String.fromCharCode(_))}}r(f,"readEscapedChar"),n(f,"readEscapedChar");function x(I,A,D,C,h,K,N,M){const _=A;let B;return{n:B,pos:A}=P(I,A,D,C,16,h,K,!1,M,!N),B===null&&(N?M.invalidEscapeSequence(_,D,C):A=_-1),{code:B,pos:A}}r(x,"readHexChar"),n(x,"readHexChar");function P(I,A,D,C,h,K,N,M,_,B){const F=A,Y=h===16?o.hex:o.decBinOct,H=h===16?s.hex:h===10?s.dec:h===8?s.oct:s.bin;let Z=!1,ee=0;for(let te=0,ue=K??1/0;te<ue;++te){const ae=I.charCodeAt(A);let re;if(ae===95&&M!=="bail"){const de=I.charCodeAt(A-1),oe=I.charCodeAt(A+1);if(M){if(Number.isNaN(oe)||!H(oe)||Y.has(de)||Y.has(oe)){if(B)return{n:null,pos:A};_.unexpectedNumericSeparator(A,D,C)}}else{if(B)return{n:null,pos:A};_.numericSeparatorInEscapeSequence(A,D,C)}++A;continue}if(ae>=97?re=ae-97+10:ae>=65?re=ae-65+10:i(ae)?re=ae-48:re=1/0,re>=h){if(re<=9&&B)return{n:null,pos:A};if(re<=9&&_.invalidDigit(A,D,C,h))re=0;else if(N)re=0,Z=!0;else break}++A,ee=ee*h+re}return A===F||K!=null&&A-F!==K||Z?{n:null,pos:A}:{n:ee,pos:A}}r(P,"readInt"),n(P,"readInt");function g(I,A,D,C,h,K){const N=I.charCodeAt(A);let M;if(N===123){if(++A,{code:M,pos:A}=x(I,A,D,C,I.indexOf("}",A)-A,!0,h,K),++A,M!==null&&M>1114111)if(h)K.invalidCodePoint(A,D,C);else return{code:null,pos:A}}else({code:M,pos:A}=x(I,A,D,C,4,!1,h,K));return{code:M,pos:A}}return r(g,"readCodePoint"),n(g,"readCodePoint"),ha}r(fp,"requireLib$1");var X={},po;function xi(){if(po)return X;po=1,Object.defineProperty(X,"__esModule",{value:!0}),X.UPDATE_OPERATORS=X.UNARY_OPERATORS=X.STRING_UNARY_OPERATORS=X.STATEMENT_OR_BLOCK_KEYS=X.NUMBER_UNARY_OPERATORS=X.NUMBER_BINARY_OPERATORS=X.LOGICAL_OPERATORS=X.INHERIT_KEYS=X.FOR_INIT_KEYS=X.FLATTENABLE_KEYS=X.EQUALITY_BINARY_OPERATORS=X.COMPARISON_BINARY_OPERATORS=X.COMMENT_KEYS=X.BOOLEAN_UNARY_OPERATORS=X.BOOLEAN_NUMBER_BINARY_OPERATORS=X.BOOLEAN_BINARY_OPERATORS=X.BINARY_OPERATORS=X.ASSIGNMENT_OPERATORS=void 0,X.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],X.FLATTENABLE_KEYS=["body","expressions"],X.FOR_INIT_KEYS=["left","init"],X.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];const T=X.LOGICAL_OPERATORS=["||","&&","??"];X.UPDATE_OPERATORS=["++","--"];const n=X.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],i=X.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],o=X.COMPARISON_BINARY_OPERATORS=[...i,"in","instanceof"],s=X.BOOLEAN_BINARY_OPERATORS=[...o,...n],a=X.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"];X.BINARY_OPERATORS=["+",...a,...s,"|>"],X.ASSIGNMENT_OPERATORS=["=","+=",...a.map(P=>P+"="),...T.map(P=>P+"=")];const d=X.BOOLEAN_UNARY_OPERATORS=["delete","!"],f=X.NUMBER_UNARY_OPERATORS=["+","-","~"],x=X.STRING_UNARY_OPERATORS=["typeof"];return X.UNARY_OPERATORS=["void","throw",...d,...f,...x],X.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},X.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),X.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding"),X}r(xi,"requireConstants");var U={},uo;function We(){if(uo)return U;uo=1;var T=Object.defineProperty,n=r((w,k)=>T(w,"name",{value:k,configurable:!0}),"o");Object.defineProperty(U,"__esModule",{value:!0}),U.allExpandedTypes=U.VISITOR_KEYS=U.NODE_UNION_SHAPES__PRIVATE=U.NODE_PARENT_VALIDATIONS=U.NODE_FIELDS=U.FLIPPED_ALIAS_KEYS=U.DEPRECATED_KEYS=U.BUILDER_KEYS=U.ALIAS_KEYS=void 0,U.arrayOf=N,U.arrayOfType=M,U.assertEach=B,U.assertNodeOrValueType=Z,U.assertNodeType=H,U.assertOneOf=F,U.assertOptionalChainStart=ue,U.assertShape=te,U.assertValueType=ee,U.chain=ae,U.default=ce,U.defineAliasedType=fe,U.validate=D,U.validateArrayOfType=_,U.validateOptional=h,U.validateOptionalType=K,U.validateType=C;var i=Pi(),o=qs();const s=U.VISITOR_KEYS={},a=U.ALIAS_KEYS={},d=U.FLIPPED_ALIAS_KEYS={},f=U.NODE_FIELDS={},x=U.BUILDER_KEYS={},P=U.DEPRECATED_KEYS={},g=U.NODE_PARENT_VALIDATIONS={},I=U.NODE_UNION_SHAPES__PRIVATE={};function A(w){return Array.isArray(w)?"array":w===null?"null":typeof w}r(A,"getType"),n(A,"getType");function D(w){return{validate:w}}r(D,"validate"),n(D,"validate");function C(...w){return D(H(...w))}r(C,"validateType"),n(C,"validateType");function h(w){return{validate:w,optional:!0}}r(h,"validateOptional"),n(h,"validateOptional");function K(...w){return{validate:H(...w),optional:!0}}r(K,"validateOptionalType"),n(K,"validateOptionalType");function N(w){return ae(ee("array"),B(w))}r(N,"arrayOf"),n(N,"arrayOf");function M(...w){return N(H(...w))}r(M,"arrayOfType"),n(M,"arrayOfType");function _(...w){return D(M(...w))}r(_,"validateArrayOfType"),n(_,"validateArrayOfType");function B(w){const k=process.env.BABEL_TYPES_8_BREAKING?o.validateChild:()=>{};function V(q,J,$){if(!Array.isArray($))return;let G=0;const W={toString(){return`${J}[${G}]`}};for(;G<$.length;G++){const Q=$[G];w(q,W,Q),k(q,W,Q)}}return r(V,"n"),n(V,"validator"),V.each=w,V}r(B,"assertEach"),n(B,"assertEach");function F(...w){function k(V,q,J){if(!w.includes(J))throw new TypeError(`Property ${q} expected value to be one of ${JSON.stringify(w)} but got ${JSON.stringify(J)}`)}return r(k,"t"),n(k,"validate"),k.oneOf=w,k}r(F,"assertOneOf"),n(F,"assertOneOf");const Y=U.allExpandedTypes=[];function H(...w){const k=new Set;Y.push({types:w,set:k});function V(q,J,$){const G=$?.type;if(G!=null){if(k.has(G)){(0,o.validateChild)(q,J,$);return}if(G==="Placeholder"){for(const W of w)if((0,i.default)(W,$)){(0,o.validateChild)(q,J,$);return}}}throw new TypeError(`Property ${J} of ${q.type} expected node to be of a type ${JSON.stringify(w)} but instead got ${JSON.stringify(G)}`)}return r(V,"n"),n(V,"validate"),V.oneOfNodeTypes=w,V}r(H,"assertNodeType"),n(H,"assertNodeType");function Z(...w){function k(V,q,J){const $=A(J);for(const G of w)if($===G||(0,i.default)(G,J)){(0,o.validateChild)(V,q,J);return}throw new TypeError(`Property ${q} of ${V.type} expected node to be of a type ${JSON.stringify(w)} but instead got ${JSON.stringify(J?.type)}`)}return r(k,"t"),n(k,"validate"),k.oneOfNodeOrValueTypes=w,k}r(Z,"assertNodeOrValueType"),n(Z,"assertNodeOrValueType");function ee(w){function k(V,q,J){if(A(J)!==w)throw new TypeError(`Property ${q} expected type of ${w} but got ${A(J)}`)}return r(k,"t"),n(k,"validate"),k.type=w,k}r(ee,"assertValueType"),n(ee,"assertValueType");function te(w){const k=Object.keys(w);function V(q,J,$){const G=[];for(const W of k)try{(0,o.validateField)(q,W,$[W],w[W])}catch(Q){if(Q instanceof TypeError){G.push(Q.message);continue}throw Q}if(G.length)throw new TypeError(`Property ${J} of ${q.type} expected to have the following:
|
|
6
|
+
${G.join(`
|
|
7
|
+
`)}`)}return r(V,"n"),n(V,"validate"),V.shapeOf=w,V}r(te,"assertShape"),n(te,"assertShape");function ue(){function w(k){var V;let q=k;for(;k;){const{type:J}=q;if(J==="OptionalCallExpression"){if(q.optional)return;q=q.callee;continue}if(J==="OptionalMemberExpression"){if(q.optional)return;q=q.object;continue}break}throw new TypeError(`Non-optional ${k.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(V=q)==null?void 0:V.type}`)}return r(w,"e"),n(w,"validate"),w}r(ue,"assertOptionalChainStart"),n(ue,"assertOptionalChainStart");function ae(...w){function k(...V){for(const q of w)q(...V)}if(r(k,"t"),n(k,"validate"),k.chainOf=w,w.length>=2&&"type"in w[0]&&w[0].type==="array"&&!("each"in w[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return k}r(ae,"chain"),n(ae,"chain");const re=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate","unionShape"]),de=new Set(["default","optional","deprecated","validate"]),oe={};function fe(...w){return(k,V={})=>{let q=V.aliases;if(!q){var J;V.inherits&&(q=(J=oe[V.inherits].aliases)==null?void 0:J.slice()),q??(q=[]),V.aliases=q}const $=w.filter(G=>!q.includes(G));q.unshift(...$),ce(k,V)}}r(fe,"defineAliasedType"),n(fe,"defineAliasedType");function ce(w,k={}){const V=k.inherits&&oe[k.inherits]||{};let q=k.fields;if(!q&&(q={},V.fields)){const W=Object.getOwnPropertyNames(V.fields);for(const Q of W){const le=V.fields[Q],pe=le.default;if(Array.isArray(pe)?pe.length>0:pe&&typeof pe=="object")throw new Error("field defaults can only be primitives or empty arrays currently");q[Q]={default:Array.isArray(pe)?[]:pe,optional:le.optional,deprecated:le.deprecated,validate:le.validate}}}const J=k.visitor||V.visitor||[],$=k.aliases||V.aliases||[],G=k.builder||V.builder||k.visitor||[];for(const W of Object.keys(k))if(!re.has(W))throw new Error(`Unknown type option "${W}" on ${w}`);k.deprecatedAlias&&(P[k.deprecatedAlias]=w);for(const W of J.concat(G))q[W]=q[W]||{};for(const W of Object.keys(q)){const Q=q[W];Q.default!==void 0&&!G.includes(W)&&(Q.optional=!0),Q.default===void 0?Q.default=null:!Q.validate&&Q.default!=null&&(Q.validate=ee(A(Q.default)));for(const le of Object.keys(Q))if(!de.has(le))throw new Error(`Unknown field key "${le}" on ${w}.${W}`)}s[w]=k.visitor=J,x[w]=k.builder=G,f[w]=k.fields=q,a[w]=k.aliases=$,$.forEach(W=>{d[W]=d[W]||[],d[W].push(w)}),k.validate&&(g[w]=k.validate),k.unionShape&&(I[w]=k.unionShape),oe[w]=k}return r(ce,"defineType"),n(ce,"defineType"),U}r(We,"requireUtils");var co;function Cs(){if(co)return se;co=1;var T=Object.defineProperty,n=r((N,M)=>T(N,"name",{value:M,configurable:!0}),"o");Object.defineProperty(se,"__esModule",{value:!0}),se.patternLikeCommon=se.importAttributes=se.functionTypeAnnotationCommon=se.functionDeclarationCommon=se.functionCommon=se.classMethodOrPropertyUnionShapeCommon=se.classMethodOrPropertyCommon=se.classMethodOrDeclareMethodCommon=void 0;var i=Pi(),o=Ai(),s=Ks(),a=fp(),d=xi(),f=We();const x=n((N=!1)=>({unionShape:{discriminator:"computed",shapes:[{name:"computed",value:[!0],properties:{key:{validate:(0,f.assertNodeType)("Expression")}}},{name:"nonComputed",value:[!1],properties:{key:{validate:N?(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"):(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral")}}}]}}),"classMethodOrPropertyUnionShapeCommon");se.classMethodOrPropertyUnionShapeCommon=x;const P=(0,f.defineAliasedType)("Standardized");P("ArrayExpression",{fields:{elements:{validate:(0,f.arrayOf)((0,f.assertNodeOrValueType)("null","Expression","SpreadElement")),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),P("AssignmentExpression",{fields:{operator:{validate:process.env.BABEL_TYPES_8_BREAKING?Object.assign((function(){const N=(0,f.assertOneOf)(...d.ASSIGNMENT_OPERATORS),M=(0,f.assertOneOf)("=");return function(_,B,F){((0,i.default)("Pattern",_.left)?M:N)(_,B,F)}})(),{oneOf:d.ASSIGNMENT_OPERATORS}):(0,f.assertValueType)("string")},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,f.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,f.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),P("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,f.assertOneOf)(...d.BINARY_OPERATORS)},left:{validate:(function(){const N=(0,f.assertNodeType)("Expression"),M=(0,f.assertNodeType)("Expression","PrivateName");return Object.assign(function(_,B,F){(_.operator==="in"?M:N)(_,B,F)},{oneOfNodeTypes:["Expression","PrivateName"]})})()},right:{validate:(0,f.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),P("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,f.assertValueType)("string")}}}),P("Directive",{visitor:["value"],fields:{value:{validate:(0,f.assertNodeType)("DirectiveLiteral")}}}),P("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,f.assertValueType)("string")}}}),P("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,f.arrayOfType)("Directive"),default:[]},body:(0,f.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]}),P("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,f.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),P("CallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,f.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,f.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:(0,f.assertNodeType)("TypeParameterInstantiation"),optional:!0}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,f.assertValueType)("boolean"),optional:!0},typeParameters:{validate:(0,f.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),P("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,f.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,f.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),P("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,f.assertNodeType)("Expression")},consequent:{validate:(0,f.assertNodeType)("Expression")},alternate:{validate:(0,f.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),P("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,f.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),P("DebuggerStatement",{aliases:["Statement"]}),P("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,f.assertNodeType)("Expression")},body:{validate:(0,f.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),P("EmptyStatement",{aliases:["Statement"]}),P("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,f.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),P("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,f.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertEach)((0,f.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,f.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}}),P("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,f.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,f.assertNodeType)("Expression")},body:{validate:(0,f.assertNodeType)("Statement")}}}),P("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,f.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,f.assertNodeType)("Expression"),optional:!0},update:{validate:(0,f.assertNodeType)("Expression"),optional:!0},body:{validate:(0,f.assertNodeType)("Statement")}}});const g=n(()=>({params:(0,f.validateArrayOfType)("FunctionParameter"),generator:{default:!1},async:{default:!1}}),"functionCommon");se.functionCommon=g;const I=n(()=>({returnType:{validate:(0,f.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,f.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}}),"functionTypeAnnotationCommon");se.functionTypeAnnotationCommon=I;const A=n(()=>Object.assign({},g(),{declare:{validate:(0,f.assertValueType)("boolean"),optional:!0},id:{validate:(0,f.assertNodeType)("Identifier"),optional:!0}}),"functionDeclarationCommon");se.functionDeclarationCommon=A,P("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},A(),I(),{body:{validate:(0,f.assertNodeType)("BlockStatement")},predicate:{validate:(0,f.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:process.env.BABEL_TYPES_8_BREAKING?(function(){const N=(0,f.assertNodeType)("Identifier");return function(M,_,B){(0,i.default)("ExportDefaultDeclaration",M)||N(B,"id",B.id)}})():void 0}),P("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},g(),I(),{id:{validate:(0,f.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,f.assertNodeType)("BlockStatement")},predicate:{validate:(0,f.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});const D=n(()=>({typeAnnotation:{validate:(0,f.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,f.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0}}),"patternLikeCommon");se.patternLikeCommon=D,P("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","FunctionParameter","PatternLike","LVal","TSEntityName"],fields:Object.assign({},D(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertValueType)("string"),Object.assign(function(N,M,_){if(!(0,o.default)(_,!1))throw new TypeError(`"${_}" is not a valid identifier name`)},{type:"string"})):(0,f.assertValueType)("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(N,M,_){const B=/\.(\w+)$/.exec(M.toString());if(!B)return;const[,F]=B,Y={computed:!1};if(F==="property"){if((0,i.default)("MemberExpression",N,Y)||(0,i.default)("OptionalMemberExpression",N,Y))return}else if(F==="key"){if((0,i.default)("Property",N,Y)||(0,i.default)("Method",N,Y))return}else if(F==="exported"){if((0,i.default)("ExportSpecifier",N))return}else if(F==="imported"){if((0,i.default)("ImportSpecifier",N,{imported:_}))return}else if(F==="meta"&&(0,i.default)("MetaProperty",N,{meta:_}))return;if(((0,s.isKeyword)(_.name)||(0,s.isReservedWord)(_.name,!1))&&_.name!=="this")throw new TypeError(`"${_.name}" is not a valid identifier`)}:void 0}),P("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,f.assertNodeType)("Expression")},consequent:{validate:(0,f.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,f.assertNodeType)("Statement")}}}),P("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,f.assertNodeType)("Identifier")},body:{validate:(0,f.assertNodeType)("Statement")}}}),P("StringLiteral",{builder:["value"],fields:{value:{validate:(0,f.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),P("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,f.chain)((0,f.assertValueType)("number"),Object.assign(function(N,M,_){},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]}),P("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),P("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,f.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),P("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,f.assertValueType)("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertValueType)("string"),Object.assign(function(N,M,_){const B=/[^dgimsuvy]/.exec(_);if(B)throw new TypeError(`"${B[0]}" is not a valid RegExp flag`)},{type:"string"})):(0,f.assertValueType)("string"),default:""}}}),P("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,f.assertOneOf)(...d.LOGICAL_OPERATORS)},left:{validate:(0,f.assertNodeType)("Expression")},right:{validate:(0,f.assertNodeType)("Expression")}}}),P("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal","PatternLike"],unionShape:{discriminator:"computed",shapes:[{name:"computed",value:[!0],properties:{property:{validate:(0,f.assertNodeType)("Expression")}}},{name:"nonComputed",value:[!1],properties:{property:{validate:(0,f.assertNodeType)("Identifier","PrivateName")}}}]},fields:Object.assign({object:{validate:(0,f.assertNodeType)("Expression","Super")},property:{validate:(function(){const N=(0,f.assertNodeType)("Identifier","PrivateName"),M=(0,f.assertNodeType)("Expression"),_=n(function(B,F,Y){(B.computed?M:N)(B,F,Y)},"validator");return _.oneOfNodeTypes=["Expression","Identifier","PrivateName"],_})()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,f.assertValueType)("boolean"),optional:!0}})}),P("NewExpression",{inherits:"CallExpression"}),P("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,f.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,f.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,f.arrayOfType)("Directive"),default:[]},body:(0,f.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]}),P("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,f.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}}),P("ObjectMethod",Object.assign({builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"]},x(),{fields:Object.assign({},g(),I(),{kind:Object.assign({validate:(0,f.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:(function(){const N=(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),M=(0,f.assertNodeType)("Expression"),_=n(function(B,F,Y){(B.computed?M:N)(B,F,Y)},"validator");return _.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],_})()},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0},body:{validate:(0,f.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]})),P("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],unionShape:{discriminator:"computed",shapes:[{name:"computed",value:[!0],properties:{key:{validate:(0,f.assertNodeType)("Expression")}}},{name:"nonComputed",value:[!1],properties:{key:{validate:(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName")}}}]},fields:{computed:{default:!1},key:{validate:(function(){const N=(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),M=(0,f.assertNodeType)("Expression");return Object.assign(function(_,B,F){(_.computed?M:N)(_,B,F)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})})()},value:{validate:(0,f.assertNodeType)("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertValueType)("boolean"),Object.assign(function(N,M,_){if(_){if(N.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!(0,i.default)("Identifier",N.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}},{type:"boolean"})):(0,f.assertValueType)("boolean"),default:!1},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0}},visitor:["decorators","key","value"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:process.env.BABEL_TYPES_8_BREAKING?(function(){const N=(0,f.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),M=(0,f.assertNodeType)("Expression");return function(_,B,F){((0,i.default)("ObjectPattern",_)?N:M)(F,"value",F.value)}})():void 0}),P("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["FunctionParameter","PatternLike","LVal"],deprecatedAlias:"RestProperty",fields:Object.assign({},D(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,f.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression","RestElement","AssignmentPattern")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(N,M){const _=/(\w+)\[(\d+)\]/.exec(M.toString());if(!_)throw new Error("Internal Babel error: malformed key.");const[,B,F]=_;if(N[B].length>+F+1)throw new TypeError(`RestElement must be last element of ${B}`)}:void 0}),P("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,f.assertNodeType)("Expression"),optional:!0}}}),P("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,f.validateArrayOfType)("Expression")},aliases:["Expression"]}),P("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,f.assertNodeType)("Expression")}}}),P("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,f.assertNodeType)("Expression"),optional:!0},consequent:(0,f.validateArrayOfType)("Statement")}}),P("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,f.assertNodeType)("Expression")},cases:(0,f.validateArrayOfType)("SwitchCase")}}),P("ThisExpression",{aliases:["Expression"]}),P("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,f.assertNodeType)("Expression")}}}),P("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertNodeType)("BlockStatement"),Object.assign(function(N){if(!N.handler&&!N.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):(0,f.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,f.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,f.assertNodeType)("BlockStatement")}}}),P("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,f.assertNodeType)("Expression")},operator:{validate:(0,f.assertOneOf)(...d.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),P("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertNodeType)("Identifier","MemberExpression"):(0,f.assertNodeType)("Expression")},operator:{validate:(0,f.assertOneOf)(...d.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),P("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,f.assertValueType)("boolean"),optional:!0},kind:{validate:(0,f.assertOneOf)("var","let","const","using","await using")},declarations:(0,f.validateArrayOfType)("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{const N=(0,f.assertNodeType)("Identifier","Placeholder"),M=(0,f.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","Placeholder"),_=(0,f.assertNodeType)("Identifier","VoidPattern","Placeholder");return function(B,F,Y){const{kind:H,declarations:Z}=Y,ee=(0,i.default)("ForXStatement",B,{left:Y});if(ee&&Z.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${B.type}`);for(const te of Z)H==="const"||H==="let"||H==="var"?!ee&&!te.init?N(te,"id",te.id):M(te,"id",te.id):_(te,"id",te.id)}})():void 0}),P("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","VoidPattern"):(0,f.assertNodeType)("LVal","VoidPattern")},definite:{optional:!0,validate:(0,f.assertValueType)("boolean")},init:{optional:!0,validate:(0,f.assertNodeType)("Expression")}}}),P("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,f.assertNodeType)("Expression")},body:{validate:(0,f.assertNodeType)("Statement")}}}),P("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,f.assertNodeType)("Expression")},body:{validate:(0,f.assertNodeType)("Statement")}}}),P("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},D(),{left:{validate:(0,f.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,f.assertNodeType)("Expression")},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0}})}),P("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},D(),{elements:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeOrValueType)("null","PatternLike")))}})}),P("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},g(),I(),{expression:{validate:(0,f.assertValueType)("boolean")},body:{validate:(0,f.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,f.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})}),P("ClassBody",{visitor:["body"],fields:{body:(0,f.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}}),P("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,f.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,f.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,f.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,f.assertNodeType)("Expression")},superTypeParameters:{validate:(0,f.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,f.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,f.assertNodeType)("InterfaceExtends"),optional:!0}}}),P("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,f.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,f.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,f.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,f.assertNodeType)("Expression")},superTypeParameters:{validate:(0,f.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,f.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,f.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,f.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,f.assertValueType)("boolean"),optional:!0}},validate:process.env.BABEL_TYPES_8_BREAKING?(function(){const N=(0,f.assertNodeType)("Identifier");return function(M,_,B){(0,i.default)("ExportDefaultDeclaration",M)||N(B,"id",B.id)}})():void 0});const C=se.importAttributes={attributes:{optional:!0,validate:(0,f.arrayOfType)("ImportAttribute")}};C.assertions={deprecated:!0,optional:!0,validate:(0,f.arrayOfType)("ImportAttribute")},P("ExportAllDeclaration",{builder:["source","attributes"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:(0,f.assertNodeType)("StringLiteral")},exportKind:(0,f.validateOptional)((0,f.assertOneOf)("type","value"))},C)}),P("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,f.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,f.validateOptional)((0,f.assertOneOf)("value"))}}),P("ExportNamedDeclaration",{builder:["declaration","specifiers","source","attributes"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertNodeType)("Declaration"),Object.assign(function(N,M,_){if(_&&N.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(_&&N.source)throw new TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):(0,f.assertNodeType)("Declaration")}},C,{specifiers:{default:[],validate:(0,f.arrayOf)((function(){const N=(0,f.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),M=(0,f.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(_,B,F){(_.source?N:M)(_,B,F)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):N})())},source:{validate:(0,f.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,f.validateOptional)((0,f.assertOneOf)("type","value"))})}),P("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,f.assertNodeType)("Identifier")},exported:{validate:(0,f.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,f.assertOneOf)("type","value"),optional:!0}}}),P("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,f.assertNodeType)("VariableDeclaration","LVal");const N=(0,f.assertNodeType)("VariableDeclaration"),M=(0,f.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(_,B,F){(0,i.default)("VariableDeclaration",F)?N(_,B,F):M(_,B,F)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})})()},right:{validate:(0,f.assertNodeType)("Expression")},body:{validate:(0,f.assertNodeType)("Statement")},await:{default:!1}}}),P("ImportDeclaration",{builder:["specifiers","source","attributes"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},C,{module:{optional:!0,validate:(0,f.assertValueType)("boolean")},phase:{default:null,validate:(0,f.assertOneOf)("source","defer")},specifiers:(0,f.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,f.assertNodeType)("StringLiteral")},importKind:{validate:(0,f.assertOneOf)("type","typeof","value"),optional:!0}})}),P("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,f.assertNodeType)("Identifier")}}}),P("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,f.assertNodeType)("Identifier")}}}),P("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,f.assertNodeType)("Identifier")},imported:{validate:(0,f.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,f.assertOneOf)("type","typeof","value"),optional:!0}}}),P("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,f.assertOneOf)("source","defer")},source:{validate:(0,f.assertNodeType)("Expression")},options:{validate:(0,f.assertNodeType)("Expression"),optional:!0}}}),P("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertNodeType)("Identifier"),Object.assign(function(N,M,_){let B;switch(_.name){case"function":B="sent";break;case"new":B="target";break;case"import":B="meta";break}if(!(0,i.default)("Identifier",N.property,{name:B}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):(0,f.assertNodeType)("Identifier")},property:{validate:(0,f.assertNodeType)("Identifier")}}});const h=n(()=>({abstract:{validate:(0,f.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,f.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,f.assertValueType)("boolean"),optional:!0},key:{validate:(0,f.chain)((function(){const N=(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),M=(0,f.assertNodeType)("Expression");return function(_,B,F){(_.computed?M:N)(_,B,F)}})(),(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}}),"classMethodOrPropertyCommon");se.classMethodOrPropertyCommon=h;const K=n(()=>Object.assign({},g(),h(),{params:(0,f.validateArrayOfType)("FunctionParameter","TSParameterProperty"),kind:{validate:(0,f.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,f.chain)((0,f.assertValueType)("string"),(0,f.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0}}),"classMethodOrDeclareMethodCommon");return se.classMethodOrDeclareMethodCommon=K,P("ClassMethod",Object.assign({aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"]},x(),{fields:Object.assign({},K(),I(),{body:{validate:(0,f.assertNodeType)("BlockStatement")}})})),P("ObjectPattern",{visitor:["decorators","properties","typeAnnotation"],builder:["properties"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},D(),{properties:(0,f.validateArrayOfType)("RestElement","ObjectProperty")})}),P("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,f.assertNodeType)("Expression")}}}),P("Super",{aliases:["Expression"]}),P("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,f.assertNodeType)("Expression")},quasi:{validate:(0,f.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,f.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),P("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,f.chain)((0,f.assertShape)({raw:{validate:(0,f.assertValueType)("string")},cooked:{validate:(0,f.assertValueType)("string"),optional:!0}}),n(function(N){const M=N.value.raw;let _=!1;const B=n(()=>{throw new Error("Internal @babel/types error.")},"error"),{str:F,firstInvalidLoc:Y}=(0,a.readStringContents)("template",M,0,0,0,{unterminated(){_=!0},strictNumericEscape:B,invalidEscapeSequence:B,numericSeparatorInEscapeSequence:B,unexpectedNumericSeparator:B,invalidDigit:B,invalidCodePoint:B});if(!_)throw new Error("Invalid raw");N.value.cooked=Y?null:F},"templateElementCookedValidator"))},tail:{default:!1}}}),P("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,f.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Expression","TSType")),function(N,M,_){if(N.quasis.length!==_.length+1)throw new TypeError(`Number of ${N.type} quasis should be exactly one more than the number of expressions.
|
|
8
|
+
Expected ${_.length+1} quasis but got ${N.quasis.length}`)})}}}),P("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertValueType)("boolean"),Object.assign(function(N,M,_){if(_&&!N.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):(0,f.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,f.assertNodeType)("Expression")}}}),P("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,f.assertNodeType)("Expression")}}}),P("Import",{aliases:["Expression"]}),P("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,f.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),P("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,f.assertNodeType)("Identifier")}}}),P("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,f.assertNodeType)("Expression")},property:{validate:(function(){const N=(0,f.assertNodeType)("Identifier"),M=(0,f.assertNodeType)("Expression");return Object.assign(function(_,B,F){(_.computed?M:N)(_,B,F)},{oneOfNodeTypes:["Expression","Identifier"]})})()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertValueType)("boolean"),(0,f.assertOptionalChainStart)()):(0,f.assertValueType)("boolean")}}}),P("OptionalCallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,f.assertNodeType)("Expression")},arguments:(0,f.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertValueType)("boolean"),(0,f.assertOptionalChainStart)()):(0,f.assertValueType)("boolean")},typeArguments:{validate:(0,f.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,f.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),P("ClassProperty",Object.assign({visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"]},x(),{fields:Object.assign({},h(),{value:{validate:(0,f.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,f.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,f.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,f.assertValueType)("boolean"),optional:!0},declare:{validate:(0,f.assertValueType)("boolean"),optional:!0},variance:{validate:(0,f.assertNodeType)("Variance"),optional:!0}})})),P("ClassAccessorProperty",Object.assign({visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"]},x(!0),{fields:Object.assign({},h(),{key:{validate:(0,f.chain)((function(){const N=(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),M=(0,f.assertNodeType)("Expression");return function(_,B,F){(_.computed?M:N)(_,B,F)}})(),(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,f.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,f.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,f.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,f.assertValueType)("boolean"),optional:!0},declare:{validate:(0,f.assertValueType)("boolean"),optional:!0},variance:{validate:(0,f.assertNodeType)("Variance"),optional:!0}})})),P("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,f.assertNodeType)("PrivateName")},value:{validate:(0,f.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,f.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0},static:{validate:(0,f.assertValueType)("boolean"),default:!1},readonly:{validate:(0,f.assertValueType)("boolean"),optional:!0},optional:{validate:(0,f.assertValueType)("boolean"),optional:!0},definite:{validate:(0,f.assertValueType)("boolean"),optional:!0},variance:{validate:(0,f.assertNodeType)("Variance"),optional:!0}}}),P("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},K(),I(),{kind:{validate:(0,f.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,f.assertNodeType)("PrivateName")},body:{validate:(0,f.assertNodeType)("BlockStatement")}})}),P("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,f.assertNodeType)("Identifier")}}}),P("StaticBlock",{visitor:["body"],fields:{body:(0,f.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]}),P("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,f.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,f.assertNodeType)("StringLiteral")}}}),se}r(Cs,"requireCore");var yo={},fo;function Tp(){if(fo)return yo;fo=1;var T=Object.defineProperty,n=r((d,f)=>T(d,"name",{value:f,configurable:!0}),"i"),i=Cs(),o=We();const s=(0,o.defineAliasedType)("Flow"),a=n(d=>{const f=d==="DeclareClass";s(d,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...f?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,o.validateType)("Identifier"),typeParameters:(0,o.validateOptionalType)("TypeParameterDeclaration"),extends:(0,o.validateOptional)((0,o.arrayOfType)("InterfaceExtends"))},f?{mixins:(0,o.validateOptional)((0,o.arrayOfType)("InterfaceExtends")),implements:(0,o.validateOptional)((0,o.arrayOfType)("ClassImplements"))}:{},{body:(0,o.validateType)("ObjectTypeAnnotation")})})},"defineInterfaceishType");return s("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,o.validateType)("FlowType")}}),s("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,o.validate)((0,o.assertValueType)("boolean"))}}),s("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,o.validateType)("Identifier"),typeParameters:(0,o.validateOptionalType)("TypeParameterInstantiation")}}),a("DeclareClass"),s("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,o.validateType)("Identifier"),predicate:(0,o.validateOptionalType)("DeclaredPredicate")}}),a("DeclareInterface"),s("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,o.validateType)("Identifier","StringLiteral"),body:(0,o.validateType)("BlockStatement"),kind:(0,o.validateOptional)((0,o.assertOneOf)("CommonJS","ES"))}}),s("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,o.validateType)("TypeAnnotation")}}),s("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,o.validateType)("Identifier"),typeParameters:(0,o.validateOptionalType)("TypeParameterDeclaration"),right:(0,o.validateType)("FlowType")}}),s("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,o.validateType)("Identifier"),typeParameters:(0,o.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,o.validateOptionalType)("FlowType"),impltype:(0,o.validateOptionalType)("FlowType")}}),s("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,o.validateType)("Identifier")}}),s("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,o.validateOptionalType)("Flow"),specifiers:(0,o.validateOptional)((0,o.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,o.validateOptionalType)("StringLiteral"),default:(0,o.validateOptional)((0,o.assertValueType)("boolean"))},i.importAttributes)}),s("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,o.validateType)("StringLiteral"),exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))},i.importAttributes)}),s("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,o.validateType)("Flow")}}),s("ExistsTypeAnnotation",{aliases:["FlowType"]}),s("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,o.validateOptionalType)("TypeParameterDeclaration"),params:(0,o.validateArrayOfType)("FunctionTypeParam"),rest:(0,o.validateOptionalType)("FunctionTypeParam"),this:(0,o.validateOptionalType)("FunctionTypeParam"),returnType:(0,o.validateType)("FlowType")}}),s("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,o.validateOptionalType)("Identifier"),typeAnnotation:(0,o.validateType)("FlowType"),optional:(0,o.validateOptional)((0,o.assertValueType)("boolean"))}}),s("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,o.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,o.validateOptionalType)("TypeParameterInstantiation")}}),s("InferredPredicate",{aliases:["FlowPredicate"]}),s("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,o.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,o.validateOptionalType)("TypeParameterInstantiation")}}),a("InterfaceDeclaration"),s("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,o.validateOptional)((0,o.arrayOfType)("InterfaceExtends")),body:(0,o.validateType)("ObjectTypeAnnotation")}}),s("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,o.validate)((0,o.arrayOfType)("FlowType"))}}),s("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,o.validateType)("FlowType")}}),s("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,o.validate)((0,o.assertValueType)("number"))}}),s("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,o.validate)((0,o.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,o.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,o.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,o.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,o.assertValueType)("boolean"),default:!1},inexact:(0,o.validateOptional)((0,o.assertValueType)("boolean"))}}),s("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,o.validateType)("Identifier"),value:(0,o.validateType)("FlowType"),optional:(0,o.validate)((0,o.assertValueType)("boolean")),static:(0,o.validate)((0,o.assertValueType)("boolean")),method:(0,o.validate)((0,o.assertValueType)("boolean"))}}),s("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,o.validateType)("FlowType"),static:(0,o.validate)((0,o.assertValueType)("boolean"))}}),s("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,o.validateOptionalType)("Identifier"),key:(0,o.validateType)("FlowType"),value:(0,o.validateType)("FlowType"),static:(0,o.validate)((0,o.assertValueType)("boolean")),variance:(0,o.validateOptionalType)("Variance")}}),s("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,o.validateType)("Identifier","StringLiteral"),value:(0,o.validateType)("FlowType"),kind:(0,o.validate)((0,o.assertOneOf)("init","get","set")),static:(0,o.validate)((0,o.assertValueType)("boolean")),proto:(0,o.validate)((0,o.assertValueType)("boolean")),optional:(0,o.validate)((0,o.assertValueType)("boolean")),variance:(0,o.validateOptionalType)("Variance"),method:(0,o.validate)((0,o.assertValueType)("boolean"))}}),s("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,o.validateType)("FlowType")}}),s("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,o.validateType)("Identifier"),typeParameters:(0,o.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,o.validateOptionalType)("FlowType"),impltype:(0,o.validateType)("FlowType")}}),s("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,o.validateType)("Identifier"),qualification:(0,o.validateType)("Identifier","QualifiedTypeIdentifier")}}),s("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,o.validate)((0,o.assertValueType)("string"))}}),s("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,o.validate)((0,o.arrayOfType)("FlowType"))}}),s("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,o.validateType)("FlowType")}}),s("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,o.validateType)("Identifier"),typeParameters:(0,o.validateOptionalType)("TypeParameterDeclaration"),right:(0,o.validateType)("FlowType")}}),s("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,o.validateType)("FlowType")}}),s("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,o.validateType)("Expression"),typeAnnotation:(0,o.validateType)("TypeAnnotation")}}),s("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,o.validate)((0,o.assertValueType)("string")),bound:(0,o.validateOptionalType)("TypeAnnotation"),default:(0,o.validateOptionalType)("FlowType"),variance:(0,o.validateOptionalType)("Variance")}}),s("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,o.validate)((0,o.arrayOfType)("TypeParameter"))}}),s("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,o.validate)((0,o.arrayOfType)("FlowType"))}}),s("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,o.validate)((0,o.arrayOfType)("FlowType"))}}),s("Variance",{builder:["kind"],fields:{kind:(0,o.validate)((0,o.assertOneOf)("minus","plus"))}}),s("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,o.validateType)("Identifier"),body:(0,o.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}}),s("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,o.validate)((0,o.assertValueType)("boolean")),members:(0,o.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,o.validate)((0,o.assertValueType)("boolean"))}}),s("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,o.validate)((0,o.assertValueType)("boolean")),members:(0,o.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,o.validate)((0,o.assertValueType)("boolean"))}}),s("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,o.validate)((0,o.assertValueType)("boolean")),members:(0,o.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,o.validate)((0,o.assertValueType)("boolean"))}}),s("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,o.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,o.validate)((0,o.assertValueType)("boolean"))}}),s("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:(0,o.validateType)("Identifier"),init:(0,o.validateType)("BooleanLiteral")}}),s("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,o.validateType)("Identifier"),init:(0,o.validateType)("NumericLiteral")}}),s("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,o.validateType)("Identifier"),init:(0,o.validateType)("StringLiteral")}}),s("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,o.validateType)("Identifier")}}),s("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,o.validateType)("FlowType"),indexType:(0,o.validateType)("FlowType")}}),s("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,o.validateType)("FlowType"),indexType:(0,o.validateType)("FlowType"),optional:(0,o.validate)((0,o.assertValueType)("boolean"))}}),yo}r(Tp,"requireFlow");var To={},mo;function mp(){if(mo)return To;mo=1;var T=We();const n=(0,T.defineAliasedType)("JSX");return n("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,T.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,T.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),n("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,T.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),n("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,T.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,T.assertNodeType)("JSXClosingElement")},children:(0,T.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:(0,T.assertValueType)("boolean"),optional:!0}})}),n("JSXEmptyExpression",{}),n("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,T.assertNodeType)("Expression","JSXEmptyExpression")}}}),n("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,T.assertNodeType)("Expression")}}}),n("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,T.assertValueType)("string")}}}),n("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,T.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,T.assertNodeType)("JSXIdentifier")}}}),n("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,T.assertNodeType)("JSXIdentifier")},name:{validate:(0,T.assertNodeType)("JSXIdentifier")}}}),n("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:(0,T.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:(0,T.validateArrayOfType)("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:(0,T.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,T.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),n("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,T.assertNodeType)("Expression")}}}),n("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,T.assertValueType)("string")}}}),n("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,T.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,T.assertNodeType)("JSXClosingFragment")},children:(0,T.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}}),n("JSXOpeningFragment",{aliases:["Immutable"]}),n("JSXClosingFragment",{aliases:["Immutable"]}),To}r(mp,"requireJsx");var So={},Ue={},Eo;function kl(){if(Eo)return Ue;Eo=1,Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.PLACEHOLDERS_FLIPPED_ALIAS=Ue.PLACEHOLDERS_ALIAS=Ue.PLACEHOLDERS=void 0;var T=We();const n=Ue.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],i=Ue.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(const s of n){const a=T.ALIAS_KEYS[s];a!=null&&a.length&&(i[s]=a)}const o=Ue.PLACEHOLDERS_FLIPPED_ALIAS={};return Object.keys(i).forEach(s=>{i[s].forEach(a=>{hasOwnProperty.call(o,a)||(o[a]=[]),o[a].push(s)})}),Ue}r(kl,"requirePlaceholders");var bo;function Sp(){if(bo)return So;bo=1;var T=We(),n=kl(),i=Cs();const o=(0,T.defineAliasedType)("Miscellaneous");return o("Noop",{visitor:[]}),o("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:(0,T.assertNodeType)("Identifier")},expectedNode:{validate:(0,T.assertOneOf)(...n.PLACEHOLDERS)}},(0,i.patternLikeCommon)())}),o("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,T.assertValueType)("string")}}}),So}r(Sp,"requireMisc");var vo={},Po;function Ep(){if(Po)return vo;Po=1;var T=We();return(0,T.default)("ArgumentPlaceholder",{}),(0,T.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,T.assertNodeType)("Expression")},callee:{validate:(0,T.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}}),(0,T.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,T.assertNodeType)("Expression")}}}),(0,T.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,T.assertNodeType)("BlockStatement")},async:{validate:(0,T.assertValueType)("boolean"),default:!1}}}),(0,T.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,T.assertNodeType)("Identifier")}}}),(0,T.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,T.validateArrayOfType)("ObjectProperty","SpreadElement")}}),(0,T.default)("TupleExpression",{fields:{elements:{validate:(0,T.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,T.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,T.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,T.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,T.assertNodeType)("Program")}},aliases:["Expression"]}),(0,T.default)("TopicReference",{aliases:["Expression"]}),(0,T.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,T.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,T.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,T.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,T.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]}),(0,T.default)("VoidPattern",{aliases:["Pattern","PatternLike","FunctionParameter"]}),vo}r(Ep,"requireExperimental");var Ao={},xo;function bp(){if(xo)return Ao;xo=1;var T=Object.defineProperty,n=r((h,K)=>T(h,"name",{value:K,configurable:!0}),"t"),i=We(),o=Cs(),s=Pi();const a=(0,i.defineAliasedType)("TypeScript"),d=(0,i.assertValueType)("boolean"),f=n(()=>({returnType:{validate:(0,i.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,i.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}}),"tSFunctionTypeAnnotationCommon");a("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,i.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,i.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,i.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,i.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,i.arrayOfType)("Decorator"),optional:!0}}}),a("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,o.functionDeclarationCommon)(),f())}),a("TSDeclareMethod",Object.assign({visitor:["decorators","key","typeParameters","params","returnType"]},(0,o.classMethodOrPropertyUnionShapeCommon)(),{fields:Object.assign({},(0,o.classMethodOrDeclareMethodCommon)(),f())})),a("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,i.validateType)("TSEntityName"),right:(0,i.validateType)("Identifier")}});const x=n(()=>({typeParameters:(0,i.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,i.validateArrayOfType)("ArrayPattern","Identifier","ObjectPattern","RestElement"),typeAnnotation:(0,i.validateOptionalType)("TSTypeAnnotation")}),"signatureDeclarationCommon"),P={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:x()};a("TSCallSignatureDeclaration",P),a("TSConstructSignatureDeclaration",P);const g=n(()=>({key:(0,i.validateType)("Expression"),computed:{default:!1},optional:(0,i.validateOptional)(d)}),"namedTypeElementCommon");a("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},g(),{readonly:(0,i.validateOptional)(d),typeAnnotation:(0,i.validateOptionalType)("TSTypeAnnotation"),kind:{optional:!0,validate:(0,i.assertOneOf)("get","set")}})}),a("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},x(),g(),{kind:{validate:(0,i.assertOneOf)("method","get","set")}})}),a("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,i.validateOptional)(d),static:(0,i.validateOptional)(d),parameters:(0,i.validateArrayOfType)("Identifier"),typeAnnotation:(0,i.validateOptionalType)("TSTypeAnnotation")}});const I=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const h of I)a(h,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});a("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const A={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};a("TSFunctionType",Object.assign({},A,{fields:x()})),a("TSConstructorType",Object.assign({},A,{fields:Object.assign({},x(),{abstract:(0,i.validateOptional)(d)})})),a("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,i.validateType)("TSEntityName"),typeParameters:(0,i.validateOptionalType)("TSTypeParameterInstantiation")}}),a("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,i.validateType)("Identifier","TSThisType"),typeAnnotation:(0,i.validateOptionalType)("TSTypeAnnotation"),asserts:(0,i.validateOptional)(d)}}),a("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,i.validateType)("TSEntityName","TSImportType"),typeParameters:(0,i.validateOptionalType)("TSTypeParameterInstantiation")}}),a("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,i.validateArrayOfType)("TSTypeElement")}}),a("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,i.validateType)("TSType")}}),a("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,i.validateArrayOfType)("TSType","TSNamedTupleMember")}}),a("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,i.validateType)("TSType")}}),a("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,i.validateType)("TSType")}}),a("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,i.validateType)("Identifier"),optional:{validate:d,default:!1},elementType:(0,i.validateType)("TSType")}});const D={aliases:["TSType"],visitor:["types"],fields:{types:(0,i.validateArrayOfType)("TSType")}};a("TSUnionType",D),a("TSIntersectionType",D),a("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,i.validateType)("TSType"),extendsType:(0,i.validateType)("TSType"),trueType:(0,i.validateType)("TSType"),falseType:(0,i.validateType)("TSType")}}),a("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,i.validateType)("TSTypeParameter")}}),a("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,i.validateType)("TSType")}}),a("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],builder:["typeAnnotation","operator"],fields:{operator:{validate:(0,i.assertValueType)("string"),default:"keyof"},typeAnnotation:(0,i.validateType)("TSType")}}),a("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,i.validateType)("TSType"),indexType:(0,i.validateType)("TSType")}}),a("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,i.validateType)("TSTypeParameter")},{readonly:(0,i.validateOptional)((0,i.assertOneOf)(!0,!1,"+","-")),optional:(0,i.validateOptional)((0,i.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,i.validateOptionalType)("TSType"),nameType:(0,i.validateOptionalType)("TSType")})}),a("TSTemplateLiteralType",{aliases:["TSType","TSBaseType"],visitor:["quasis","types"],fields:{quasis:(0,i.validateArrayOfType)("TemplateElement"),types:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("TSType")),function(h,K,N){if(h.quasis.length!==N.length+1)throw new TypeError(`Number of ${h.type} quasis should be exactly one more than the number of types.
|
|
9
|
+
Expected ${N.length+1} quasis but got ${h.quasis.length}`)})}}}),a("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:(function(){const h=(0,i.assertNodeType)("NumericLiteral","BigIntLiteral"),K=(0,i.assertOneOf)("-"),N=(0,i.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral"),M=n(function(_,B,F){(0,s.default)("UnaryExpression",F)?(K(F,"operator",F.operator),h(F,"argument",F.argument)):N(_,B,F)},"validator");return M.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],M})()}}}),a("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,i.validateType)("TSEntityName"),typeParameters:(0,i.validateOptionalType)("TSTypeParameterInstantiation")}}),a("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,i.validateOptional)(d),id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,i.validateOptional)((0,i.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,i.validateType)("TSInterfaceBody")}}),a("TSInterfaceBody",{visitor:["body"],fields:{body:(0,i.validateArrayOfType)("TSTypeElement")}}),a("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,i.validateOptional)(d),id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,i.validateType)("TSType")}}),a("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,i.validateType)("Expression"),typeParameters:(0,i.validateOptionalType)("TSTypeParameterInstantiation")}});const C={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,i.validateType)("Expression"),typeAnnotation:(0,i.validateType)("TSType")}};return a("TSAsExpression",C),a("TSSatisfiesExpression",C),a("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,i.validateType)("TSType"),expression:(0,i.validateType)("Expression")}}),a("TSEnumBody",{visitor:["members"],fields:{members:(0,i.validateArrayOfType)("TSEnumMember")}}),a("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,i.validateOptional)(d),const:(0,i.validateOptional)(d),id:(0,i.validateType)("Identifier"),members:(0,i.validateArrayOfType)("TSEnumMember"),initializer:(0,i.validateOptionalType)("Expression"),body:(0,i.validateOptionalType)("TSEnumBody")}}),a("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,i.validateType)("Identifier","StringLiteral"),initializer:(0,i.validateOptionalType)("Expression")}}),a("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:(0,i.assertOneOf)("global","module","namespace")},declare:(0,i.validateOptional)(d)},{global:(0,i.validateOptional)(d)},{id:(0,i.validateType)("Identifier","StringLiteral"),body:(0,i.validateType)("TSModuleBlock","TSModuleDeclaration")})}),a("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,i.validateArrayOfType)("Statement")}}),a("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:Object.assign({},{argument:(0,i.validateType)("StringLiteral")},{qualifier:(0,i.validateOptionalType)("TSEntityName")},{typeParameters:(0,i.validateOptionalType)("TSTypeParameterInstantiation")},{options:{validate:(0,i.assertNodeType)("ObjectExpression"),optional:!0}})}),a("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:(0,i.validate)(d)},{id:(0,i.validateType)("Identifier"),moduleReference:(0,i.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,i.assertOneOf)("type","value"),optional:!0}})}),a("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,i.validateType)("StringLiteral")}}),a("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,i.validateType)("Expression")}}),a("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,i.validateType)("Expression")}}),a("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,i.validateType)("Identifier")}}),a("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,i.assertNodeType)("TSType")}}}),a("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,i.validateArrayOfType)("TSType")}}),a("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,i.validateArrayOfType)("TSTypeParameter")}}),a("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,i.assertValueType)("string")},in:{validate:(0,i.assertValueType)("boolean"),optional:!0},out:{validate:(0,i.assertValueType)("boolean"),optional:!0},const:{validate:(0,i.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,i.assertNodeType)("TSType"),optional:!0},default:{validate:(0,i.assertNodeType)("TSType"),optional:!0}}}),Ao}r(bp,"requireTypescript");var fi={},go;function vp(){return go||(go=1,Object.defineProperty(fi,"__esModule",{value:!0}),fi.DEPRECATED_ALIASES=void 0,fi.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}),fi}r(vp,"requireDeprecatedAliases");var Io;function Ee(){return Io||(Io=1,(function(T){var n=Object.defineProperty,i=r((d,f)=>n(d,"name",{value:f,configurable:!0}),"e");Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"ALIAS_KEYS",{enumerable:!0,get:i(function(){return o.ALIAS_KEYS},"get")}),Object.defineProperty(T,"BUILDER_KEYS",{enumerable:!0,get:i(function(){return o.BUILDER_KEYS},"get")}),Object.defineProperty(T,"DEPRECATED_ALIASES",{enumerable:!0,get:i(function(){return a.DEPRECATED_ALIASES},"get")}),Object.defineProperty(T,"DEPRECATED_KEYS",{enumerable:!0,get:i(function(){return o.DEPRECATED_KEYS},"get")}),Object.defineProperty(T,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:i(function(){return o.FLIPPED_ALIAS_KEYS},"get")}),Object.defineProperty(T,"NODE_FIELDS",{enumerable:!0,get:i(function(){return o.NODE_FIELDS},"get")}),Object.defineProperty(T,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:i(function(){return o.NODE_PARENT_VALIDATIONS},"get")}),Object.defineProperty(T,"NODE_UNION_SHAPES__PRIVATE",{enumerable:!0,get:i(function(){return o.NODE_UNION_SHAPES__PRIVATE},"get")}),Object.defineProperty(T,"PLACEHOLDERS",{enumerable:!0,get:i(function(){return s.PLACEHOLDERS},"get")}),Object.defineProperty(T,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:i(function(){return s.PLACEHOLDERS_ALIAS},"get")}),Object.defineProperty(T,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:i(function(){return s.PLACEHOLDERS_FLIPPED_ALIAS},"get")}),T.TYPES=void 0,Object.defineProperty(T,"VISITOR_KEYS",{enumerable:!0,get:i(function(){return o.VISITOR_KEYS},"get")}),Cs(),Tp(),mp(),Sp(),Ep(),bp();var o=We(),s=kl(),a=vp();Object.keys(a.DEPRECATED_ALIASES).forEach(d=>{o.FLIPPED_ALIAS_KEYS[d]=o.FLIPPED_ALIAS_KEYS[a.DEPRECATED_ALIASES[d]]});for(const{types:d,set:f}of o.allExpandedTypes)for(const x of d){const P=o.FLIPPED_ALIAS_KEYS[x];P?P.forEach(f.add,f):f.add(x)}T.TYPES=[].concat(Object.keys(o.VISITOR_KEYS),Object.keys(o.FLIPPED_ALIAS_KEYS),Object.keys(o.DEPRECATED_KEYS))})(js)),js}r(Ee,"requireDefinitions");var Oo;function qs(){if(Oo)return ga;Oo=1;var T=Object.defineProperty,n=r((f,x)=>T(f,"name",{value:x,configurable:!0}),"r");Object.defineProperty(ga,"__esModule",{value:!0}),ga.default=o,ga.validateChild=d,ga.validateField=a,ga.validateInternal=s;var i=Ee();function o(f,x,P){if(!f)return;const g=i.NODE_FIELDS[f.type];if(!g)return;const I=g[x];a(f,x,P,I),d(f,x,P)}r(o,"validate$1"),n(o,"validate");function s(f,x,P,g,I){if(f!=null&&f.validate&&!(f.optional&&g==null)&&(f.validate(x,P,g),I)){var A;const D=g.type;if(D==null)return;(A=i.NODE_PARENT_VALIDATIONS[D])==null||A.call(i.NODE_PARENT_VALIDATIONS,x,P,g)}}r(s,"validateInternal"),n(s,"validateInternal");function a(f,x,P,g){g!=null&&g.validate&&(g.optional&&P==null||g.validate(f,x,P))}r(a,"validateField"),n(a,"validateField");function d(f,x,P){var g;const I=P?.type;I!=null&&((g=i.NODE_PARENT_VALIDATIONS[I])==null||g.call(i.NODE_PARENT_VALIDATIONS,f,x,P))}return r(d,"validateChild"),n(d,"validateChild"),ga}r(qs,"requireValidate");var Do;function Kl(){if(Do)return S;Do=1;var T=Object.defineProperty,n=r((l,p)=>T(l,"name",{value:p,configurable:!0}),"s");Object.defineProperty(S,"__esModule",{value:!0}),S.anyTypeAnnotation=Tt,S.argumentPlaceholder=Yr,S.arrayExpression=x,S.arrayPattern=Be,S.arrayTypeAnnotation=mt,S.arrowFunctionExpression=Me,S.assignmentExpression=P,S.assignmentPattern=_e,S.awaitExpression=nt,S.bigIntLiteral=f,S.binaryExpression=g,S.bindExpression=Jr,S.blockStatement=C,S.booleanLiteral=k,S.booleanLiteralTypeAnnotation=Et,S.booleanTypeAnnotation=St,S.breakStatement=h,S.callExpression=K,S.catchClause=N,S.classAccessorProperty=pt,S.classBody=je,S.classDeclaration=Fe,S.classExpression=we,S.classImplements=vt,S.classMethod=Qe,S.classPrivateMethod=ct,S.classPrivateProperty=ut,S.classProperty=lt,S.conditionalExpression=M,S.continueStatement=_,S.debuggerStatement=B,S.decimalLiteral=$r,S.declareClass=Pt,S.declareExportAllDeclaration=Lt,S.declareExportDeclaration=Nt,S.declareFunction=At,S.declareInterface=xt,S.declareModule=gt,S.declareModuleExports=It,S.declareOpaqueType=Dt,S.declareTypeAlias=Ot,S.declareVariable=ht,S.declaredPredicate=Ct,S.decorator=Ur,S.directive=A,S.directiveLiteral=D,S.doExpression=Wr,S.doWhileStatement=F,S.emptyStatement=Y,S.emptyTypeAnnotation=Vt,S.enumBooleanBody=mr,S.enumBooleanMember=vr,S.enumDeclaration=Tr,S.enumDefaultedMember=xr,S.enumNumberBody=Sr,S.enumNumberMember=Pr,S.enumStringBody=Er,S.enumStringMember=Ar,S.enumSymbolBody=br,S.existsTypeAnnotation=_t,S.exportAllDeclaration=Re,S.exportDefaultDeclaration=ke,S.exportDefaultSpecifier=Gr,S.exportNamedDeclaration=Ke,S.exportNamespaceSpecifier=it,S.exportSpecifier=qe,S.expressionStatement=H,S.file=Z,S.forInStatement=ee,S.forOfStatement=Se,S.forStatement=te,S.functionDeclaration=ue,S.functionExpression=ae,S.functionTypeAnnotation=Bt,S.functionTypeParam=Mt,S.genericTypeAnnotation=jt,S.identifier=re,S.ifStatement=de,S.import=at,S.importAttribute=ft,S.importDeclaration=Ve,S.importDefaultSpecifier=Xe,S.importExpression=Ge,S.importNamespaceSpecifier=j,S.importSpecifier=Ye,S.indexedAccessType=gr,S.inferredPredicate=wt,S.interfaceDeclaration=Rt,S.interfaceExtends=Ft,S.interfaceTypeAnnotation=kt,S.interpreterDirective=I,S.intersectionTypeAnnotation=Kt,S.jSXAttribute=S.jsxAttribute=Or,S.jSXClosingElement=S.jsxClosingElement=Dr,S.jSXClosingFragment=S.jsxClosingFragment=Kr,S.jSXElement=S.jsxElement=hr,S.jSXEmptyExpression=S.jsxEmptyExpression=Nr,S.jSXExpressionContainer=S.jsxExpressionContainer=Lr,S.jSXFragment=S.jsxFragment=Rr,S.jSXIdentifier=S.jsxIdentifier=_r,S.jSXMemberExpression=S.jsxMemberExpression=Br,S.jSXNamespacedName=S.jsxNamespacedName=Mr,S.jSXOpeningElement=S.jsxOpeningElement=jr,S.jSXOpeningFragment=S.jsxOpeningFragment=kr,S.jSXSpreadAttribute=S.jsxSpreadAttribute=wr,S.jSXSpreadChild=S.jsxSpreadChild=Cr,S.jSXText=S.jsxText=Fr,S.labeledStatement=oe,S.logicalExpression=q,S.memberExpression=J,S.metaProperty=ze,S.mixedTypeAnnotation=qt,S.moduleExpression=Hr,S.newExpression=$,S.noop=qr,S.nullLiteral=w,S.nullLiteralTypeAnnotation=bt,S.nullableTypeAnnotation=Xt,S.numberLiteral=Ea,S.numberLiteralTypeAnnotation=Yt,S.numberTypeAnnotation=Jt,S.numericLiteral=ce,S.objectExpression=W,S.objectMethod=Q,S.objectPattern=$e,S.objectProperty=le,S.objectTypeAnnotation=Ut,S.objectTypeCallProperty=Gt,S.objectTypeIndexer=zt,S.objectTypeInternalSlot=Wt,S.objectTypeProperty=Qt,S.objectTypeSpreadProperty=$t,S.opaqueType=Ht,S.optionalCallExpression=ot,S.optionalIndexedAccessType=Ir,S.optionalMemberExpression=st,S.parenthesizedExpression=Pe,S.pipelineBareFunction=tn,S.pipelinePrimaryTopicReference=rn,S.pipelineTopicExpression=en,S.placeholder=Vr,S.privateName=dt,S.program=G,S.qualifiedTypeIdentifier=Zt,S.recordExpression=zr,S.regExpLiteral=V,S.regexLiteral=ba,S.restElement=pe,S.restProperty=va,S.returnStatement=be,S.sequenceExpression=ve,S.spreadElement=Je,S.spreadProperty=Pa,S.staticBlock=yt,S.stringLiteral=fe,S.stringLiteralTypeAnnotation=er,S.stringTypeAnnotation=tr,S.super=He,S.switchCase=Te,S.switchStatement=Ae,S.symbolTypeAnnotation=rr,S.taggedTemplateExpression=Ze,S.templateElement=et,S.templateLiteral=tt,S.thisExpression=xe,S.thisTypeAnnotation=nr,S.throwStatement=ge,S.topicReference=Zr,S.tryStatement=Ie,S.tSAnyKeyword=S.tsAnyKeyword=fn,S.tSArrayType=S.tsArrayType=Mn,S.tSAsExpression=S.tsAsExpression=ea,S.tSBigIntKeyword=S.tsBigIntKeyword=mn,S.tSBooleanKeyword=S.tsBooleanKeyword=Tn,S.tSCallSignatureDeclaration=S.tsCallSignatureDeclaration=pn,S.tSConditionalType=S.tsConditionalType=qn,S.tSConstructSignatureDeclaration=S.tsConstructSignatureDeclaration=un,S.tSConstructorType=S.tsConstructorType=Nn,S.tSDeclareFunction=S.tsDeclareFunction=sn,S.tSDeclareMethod=S.tsDeclareMethod=on,S.tSEnumBody=S.tsEnumBody=na,S.tSEnumDeclaration=S.tsEnumDeclaration=aa,S.tSEnumMember=S.tsEnumMember=ia,S.tSExportAssignment=S.tsExportAssignment=da,S.tSExpressionWithTypeArguments=S.tsExpressionWithTypeArguments=zn,S.tSExternalModuleReference=S.tsExternalModuleReference=ua,S.tSFunctionType=S.tsFunctionType=hn,S.tSImportEqualsDeclaration=S.tsImportEqualsDeclaration=pa,S.tSImportType=S.tsImportType=la,S.tSIndexSignature=S.tsIndexSignature=yn,S.tSIndexedAccessType=S.tsIndexedAccessType=Jn,S.tSInferType=S.tsInferType=Vn,S.tSInstantiationExpression=S.tsInstantiationExpression=Zn,S.tSInterfaceBody=S.tsInterfaceBody=$n,S.tSInterfaceDeclaration=S.tsInterfaceDeclaration=Qn,S.tSIntersectionType=S.tsIntersectionType=Kn,S.tSIntrinsicKeyword=S.tsIntrinsicKeyword=Sn,S.tSLiteralType=S.tsLiteralType=Gn,S.tSMappedType=S.tsMappedType=Un,S.tSMethodSignature=S.tsMethodSignature=dn,S.tSModuleBlock=S.tsModuleBlock=oa,S.tSModuleDeclaration=S.tsModuleDeclaration=sa,S.tSNamedTupleMember=S.tsNamedTupleMember=Rn,S.tSNamespaceExportDeclaration=S.tsNamespaceExportDeclaration=ya,S.tSNeverKeyword=S.tsNeverKeyword=En,S.tSNonNullExpression=S.tsNonNullExpression=ca,S.tSNullKeyword=S.tsNullKeyword=bn,S.tSNumberKeyword=S.tsNumberKeyword=vn,S.tSObjectKeyword=S.tsObjectKeyword=Pn,S.tSOptionalType=S.tsOptionalType=wn,S.tSParameterProperty=S.tsParameterProperty=an,S.tSParenthesizedType=S.tsParenthesizedType=Xn,S.tSPropertySignature=S.tsPropertySignature=cn,S.tSQualifiedName=S.tsQualifiedName=ln,S.tSRestType=S.tsRestType=Fn,S.tSSatisfiesExpression=S.tsSatisfiesExpression=ta,S.tSStringKeyword=S.tsStringKeyword=An,S.tSSymbolKeyword=S.tsSymbolKeyword=xn,S.tSTemplateLiteralType=S.tsTemplateLiteralType=Wn,S.tSThisType=S.tsThisType=Dn,S.tSTupleType=S.tsTupleType=jn,S.tSTypeAliasDeclaration=S.tsTypeAliasDeclaration=Hn,S.tSTypeAnnotation=S.tsTypeAnnotation=fa,S.tSTypeAssertion=S.tsTypeAssertion=ra,S.tSTypeLiteral=S.tsTypeLiteral=Bn,S.tSTypeOperator=S.tsTypeOperator=Yn,S.tSTypeParameter=S.tsTypeParameter=Sa,S.tSTypeParameterDeclaration=S.tsTypeParameterDeclaration=ma,S.tSTypeParameterInstantiation=S.tsTypeParameterInstantiation=Ta,S.tSTypePredicate=S.tsTypePredicate=Cn,S.tSTypeQuery=S.tsTypeQuery=_n,S.tSTypeReference=S.tsTypeReference=Ln,S.tSUndefinedKeyword=S.tsUndefinedKeyword=gn,S.tSUnionType=S.tsUnionType=kn,S.tSUnknownKeyword=S.tsUnknownKeyword=In,S.tSVoidKeyword=S.tsVoidKeyword=On,S.tupleExpression=Qr,S.tupleTypeAnnotation=ar,S.typeAlias=sr,S.typeAnnotation=or,S.typeCastExpression=lr,S.typeParameter=pr,S.typeParameterDeclaration=ur,S.typeParameterInstantiation=cr,S.typeofTypeAnnotation=ir,S.unaryExpression=Oe,S.unionTypeAnnotation=dr,S.updateExpression=De,S.v8IntrinsicIdentifier=Xr,S.variableDeclaration=he,S.variableDeclarator=Ne,S.variance=yr,S.voidPattern=nn,S.voidTypeAnnotation=fr,S.whileStatement=Le,S.withStatement=Ce,S.yieldExpression=rt;var i=qs(),o=vi(),s=We();const{validateInternal:a}=i,{NODE_FIELDS:d}=s;function f(l){typeof l=="bigint"&&(l=l.toString());const p={type:"BigIntLiteral",value:l},c=d.BigIntLiteral;return a(c.value,p,"value",l),p}r(f,"bigIntLiteral"),n(f,"bigIntLiteral");function x(l=[]){const p={type:"ArrayExpression",elements:l},c=d.ArrayExpression;return a(c.elements,p,"elements",l,1),p}r(x,"arrayExpression"),n(x,"arrayExpression");function P(l,p,c){const m={type:"AssignmentExpression",operator:l,left:p,right:c},v=d.AssignmentExpression;return a(v.operator,m,"operator",l),a(v.left,m,"left",p,1),a(v.right,m,"right",c,1),m}r(P,"assignmentExpression"),n(P,"assignmentExpression");function g(l,p,c){const m={type:"BinaryExpression",operator:l,left:p,right:c},v=d.BinaryExpression;return a(v.operator,m,"operator",l),a(v.left,m,"left",p,1),a(v.right,m,"right",c,1),m}r(g,"binaryExpression"),n(g,"binaryExpression");function I(l){const p={type:"InterpreterDirective",value:l},c=d.InterpreterDirective;return a(c.value,p,"value",l),p}r(I,"interpreterDirective"),n(I,"interpreterDirective");function A(l){const p={type:"Directive",value:l},c=d.Directive;return a(c.value,p,"value",l,1),p}r(A,"directive"),n(A,"directive");function D(l){const p={type:"DirectiveLiteral",value:l},c=d.DirectiveLiteral;return a(c.value,p,"value",l),p}r(D,"directiveLiteral"),n(D,"directiveLiteral");function C(l,p=[]){const c={type:"BlockStatement",body:l,directives:p},m=d.BlockStatement;return a(m.body,c,"body",l,1),a(m.directives,c,"directives",p,1),c}r(C,"blockStatement"),n(C,"blockStatement");function h(l=null){const p={type:"BreakStatement",label:l},c=d.BreakStatement;return a(c.label,p,"label",l,1),p}r(h,"breakStatement"),n(h,"breakStatement");function K(l,p){const c={type:"CallExpression",callee:l,arguments:p},m=d.CallExpression;return a(m.callee,c,"callee",l,1),a(m.arguments,c,"arguments",p,1),c}r(K,"callExpression"),n(K,"callExpression");function N(l=null,p){const c={type:"CatchClause",param:l,body:p},m=d.CatchClause;return a(m.param,c,"param",l,1),a(m.body,c,"body",p,1),c}r(N,"catchClause"),n(N,"catchClause");function M(l,p,c){const m={type:"ConditionalExpression",test:l,consequent:p,alternate:c},v=d.ConditionalExpression;return a(v.test,m,"test",l,1),a(v.consequent,m,"consequent",p,1),a(v.alternate,m,"alternate",c,1),m}r(M,"conditionalExpression"),n(M,"conditionalExpression");function _(l=null){const p={type:"ContinueStatement",label:l},c=d.ContinueStatement;return a(c.label,p,"label",l,1),p}r(_,"continueStatement"),n(_,"continueStatement");function B(){return{type:"DebuggerStatement"}}r(B,"debuggerStatement"),n(B,"debuggerStatement");function F(l,p){const c={type:"DoWhileStatement",test:l,body:p},m=d.DoWhileStatement;return a(m.test,c,"test",l,1),a(m.body,c,"body",p,1),c}r(F,"doWhileStatement"),n(F,"doWhileStatement");function Y(){return{type:"EmptyStatement"}}r(Y,"emptyStatement"),n(Y,"emptyStatement");function H(l){const p={type:"ExpressionStatement",expression:l},c=d.ExpressionStatement;return a(c.expression,p,"expression",l,1),p}r(H,"expressionStatement"),n(H,"expressionStatement");function Z(l,p=null,c=null){const m={type:"File",program:l,comments:p,tokens:c},v=d.File;return a(v.program,m,"program",l,1),a(v.comments,m,"comments",p,1),a(v.tokens,m,"tokens",c),m}r(Z,"file"),n(Z,"file");function ee(l,p,c){const m={type:"ForInStatement",left:l,right:p,body:c},v=d.ForInStatement;return a(v.left,m,"left",l,1),a(v.right,m,"right",p,1),a(v.body,m,"body",c,1),m}r(ee,"forInStatement"),n(ee,"forInStatement");function te(l=null,p=null,c=null,m){const v={type:"ForStatement",init:l,test:p,update:c,body:m},O=d.ForStatement;return a(O.init,v,"init",l,1),a(O.test,v,"test",p,1),a(O.update,v,"update",c,1),a(O.body,v,"body",m,1),v}r(te,"forStatement"),n(te,"forStatement");function ue(l=null,p,c,m=!1,v=!1){const O={type:"FunctionDeclaration",id:l,params:p,body:c,generator:m,async:v},R=d.FunctionDeclaration;return a(R.id,O,"id",l,1),a(R.params,O,"params",p,1),a(R.body,O,"body",c,1),a(R.generator,O,"generator",m),a(R.async,O,"async",v),O}r(ue,"functionDeclaration"),n(ue,"functionDeclaration");function ae(l=null,p,c,m=!1,v=!1){const O={type:"FunctionExpression",id:l,params:p,body:c,generator:m,async:v},R=d.FunctionExpression;return a(R.id,O,"id",l,1),a(R.params,O,"params",p,1),a(R.body,O,"body",c,1),a(R.generator,O,"generator",m),a(R.async,O,"async",v),O}r(ae,"functionExpression"),n(ae,"functionExpression");function re(l){const p={type:"Identifier",name:l},c=d.Identifier;return a(c.name,p,"name",l),p}r(re,"identifier"),n(re,"identifier");function de(l,p,c=null){const m={type:"IfStatement",test:l,consequent:p,alternate:c},v=d.IfStatement;return a(v.test,m,"test",l,1),a(v.consequent,m,"consequent",p,1),a(v.alternate,m,"alternate",c,1),m}r(de,"ifStatement"),n(de,"ifStatement");function oe(l,p){const c={type:"LabeledStatement",label:l,body:p},m=d.LabeledStatement;return a(m.label,c,"label",l,1),a(m.body,c,"body",p,1),c}r(oe,"labeledStatement"),n(oe,"labeledStatement");function fe(l){const p={type:"StringLiteral",value:l},c=d.StringLiteral;return a(c.value,p,"value",l),p}r(fe,"stringLiteral"),n(fe,"stringLiteral");function ce(l){const p={type:"NumericLiteral",value:l},c=d.NumericLiteral;return a(c.value,p,"value",l),p}r(ce,"numericLiteral"),n(ce,"numericLiteral");function w(){return{type:"NullLiteral"}}r(w,"nullLiteral"),n(w,"nullLiteral");function k(l){const p={type:"BooleanLiteral",value:l},c=d.BooleanLiteral;return a(c.value,p,"value",l),p}r(k,"booleanLiteral"),n(k,"booleanLiteral");function V(l,p=""){const c={type:"RegExpLiteral",pattern:l,flags:p},m=d.RegExpLiteral;return a(m.pattern,c,"pattern",l),a(m.flags,c,"flags",p),c}r(V,"regExpLiteral"),n(V,"regExpLiteral");function q(l,p,c){const m={type:"LogicalExpression",operator:l,left:p,right:c},v=d.LogicalExpression;return a(v.operator,m,"operator",l),a(v.left,m,"left",p,1),a(v.right,m,"right",c,1),m}r(q,"logicalExpression"),n(q,"logicalExpression");function J(l,p,c=!1,m=null){const v={type:"MemberExpression",object:l,property:p,computed:c,optional:m},O=d.MemberExpression;return a(O.object,v,"object",l,1),a(O.property,v,"property",p,1),a(O.computed,v,"computed",c),a(O.optional,v,"optional",m),v}r(J,"memberExpression"),n(J,"memberExpression");function $(l,p){const c={type:"NewExpression",callee:l,arguments:p},m=d.NewExpression;return a(m.callee,c,"callee",l,1),a(m.arguments,c,"arguments",p,1),c}r($,"newExpression"),n($,"newExpression");function G(l,p=[],c="script",m=null){const v={type:"Program",body:l,directives:p,sourceType:c,interpreter:m},O=d.Program;return a(O.body,v,"body",l,1),a(O.directives,v,"directives",p,1),a(O.sourceType,v,"sourceType",c),a(O.interpreter,v,"interpreter",m,1),v}r(G,"program"),n(G,"program");function W(l){const p={type:"ObjectExpression",properties:l},c=d.ObjectExpression;return a(c.properties,p,"properties",l,1),p}r(W,"objectExpression"),n(W,"objectExpression");function Q(l="method",p,c,m,v=!1,O=!1,R=!1){const z={type:"ObjectMethod",kind:l,key:p,params:c,body:m,computed:v,generator:O,async:R},ne=d.ObjectMethod;return a(ne.kind,z,"kind",l),a(ne.key,z,"key",p,1),a(ne.params,z,"params",c,1),a(ne.body,z,"body",m,1),a(ne.computed,z,"computed",v),a(ne.generator,z,"generator",O),a(ne.async,z,"async",R),z}r(Q,"objectMethod"),n(Q,"objectMethod");function le(l,p,c=!1,m=!1,v=null){const O={type:"ObjectProperty",key:l,value:p,computed:c,shorthand:m,decorators:v},R=d.ObjectProperty;return a(R.key,O,"key",l,1),a(R.value,O,"value",p,1),a(R.computed,O,"computed",c),a(R.shorthand,O,"shorthand",m),a(R.decorators,O,"decorators",v,1),O}r(le,"objectProperty"),n(le,"objectProperty");function pe(l){const p={type:"RestElement",argument:l},c=d.RestElement;return a(c.argument,p,"argument",l,1),p}r(pe,"restElement"),n(pe,"restElement");function be(l=null){const p={type:"ReturnStatement",argument:l},c=d.ReturnStatement;return a(c.argument,p,"argument",l,1),p}r(be,"returnStatement"),n(be,"returnStatement");function ve(l){const p={type:"SequenceExpression",expressions:l},c=d.SequenceExpression;return a(c.expressions,p,"expressions",l,1),p}r(ve,"sequenceExpression"),n(ve,"sequenceExpression");function Pe(l){const p={type:"ParenthesizedExpression",expression:l},c=d.ParenthesizedExpression;return a(c.expression,p,"expression",l,1),p}r(Pe,"parenthesizedExpression"),n(Pe,"parenthesizedExpression");function Te(l=null,p){const c={type:"SwitchCase",test:l,consequent:p},m=d.SwitchCase;return a(m.test,c,"test",l,1),a(m.consequent,c,"consequent",p,1),c}r(Te,"switchCase"),n(Te,"switchCase");function Ae(l,p){const c={type:"SwitchStatement",discriminant:l,cases:p},m=d.SwitchStatement;return a(m.discriminant,c,"discriminant",l,1),a(m.cases,c,"cases",p,1),c}r(Ae,"switchStatement"),n(Ae,"switchStatement");function xe(){return{type:"ThisExpression"}}r(xe,"thisExpression"),n(xe,"thisExpression");function ge(l){const p={type:"ThrowStatement",argument:l},c=d.ThrowStatement;return a(c.argument,p,"argument",l,1),p}r(ge,"throwStatement"),n(ge,"throwStatement");function Ie(l,p=null,c=null){const m={type:"TryStatement",block:l,handler:p,finalizer:c},v=d.TryStatement;return a(v.block,m,"block",l,1),a(v.handler,m,"handler",p,1),a(v.finalizer,m,"finalizer",c,1),m}r(Ie,"tryStatement"),n(Ie,"tryStatement");function Oe(l,p,c=!0){const m={type:"UnaryExpression",operator:l,argument:p,prefix:c},v=d.UnaryExpression;return a(v.operator,m,"operator",l),a(v.argument,m,"argument",p,1),a(v.prefix,m,"prefix",c),m}r(Oe,"unaryExpression"),n(Oe,"unaryExpression");function De(l,p,c=!1){const m={type:"UpdateExpression",operator:l,argument:p,prefix:c},v=d.UpdateExpression;return a(v.operator,m,"operator",l),a(v.argument,m,"argument",p,1),a(v.prefix,m,"prefix",c),m}r(De,"updateExpression"),n(De,"updateExpression");function he(l,p){const c={type:"VariableDeclaration",kind:l,declarations:p},m=d.VariableDeclaration;return a(m.kind,c,"kind",l),a(m.declarations,c,"declarations",p,1),c}r(he,"variableDeclaration"),n(he,"variableDeclaration");function Ne(l,p=null){const c={type:"VariableDeclarator",id:l,init:p},m=d.VariableDeclarator;return a(m.id,c,"id",l,1),a(m.init,c,"init",p,1),c}r(Ne,"variableDeclarator"),n(Ne,"variableDeclarator");function Le(l,p){const c={type:"WhileStatement",test:l,body:p},m=d.WhileStatement;return a(m.test,c,"test",l,1),a(m.body,c,"body",p,1),c}r(Le,"whileStatement"),n(Le,"whileStatement");function Ce(l,p){const c={type:"WithStatement",object:l,body:p},m=d.WithStatement;return a(m.object,c,"object",l,1),a(m.body,c,"body",p,1),c}r(Ce,"withStatement"),n(Ce,"withStatement");function _e(l,p){const c={type:"AssignmentPattern",left:l,right:p},m=d.AssignmentPattern;return a(m.left,c,"left",l,1),a(m.right,c,"right",p,1),c}r(_e,"assignmentPattern"),n(_e,"assignmentPattern");function Be(l){const p={type:"ArrayPattern",elements:l},c=d.ArrayPattern;return a(c.elements,p,"elements",l,1),p}r(Be,"arrayPattern"),n(Be,"arrayPattern");function Me(l,p,c=!1){const m={type:"ArrowFunctionExpression",params:l,body:p,async:c,expression:null},v=d.ArrowFunctionExpression;return a(v.params,m,"params",l,1),a(v.body,m,"body",p,1),a(v.async,m,"async",c),m}r(Me,"arrowFunctionExpression"),n(Me,"arrowFunctionExpression");function je(l){const p={type:"ClassBody",body:l},c=d.ClassBody;return a(c.body,p,"body",l,1),p}r(je,"classBody"),n(je,"classBody");function we(l=null,p=null,c,m=null){const v={type:"ClassExpression",id:l,superClass:p,body:c,decorators:m},O=d.ClassExpression;return a(O.id,v,"id",l,1),a(O.superClass,v,"superClass",p,1),a(O.body,v,"body",c,1),a(O.decorators,v,"decorators",m,1),v}r(we,"classExpression"),n(we,"classExpression");function Fe(l=null,p=null,c,m=null){const v={type:"ClassDeclaration",id:l,superClass:p,body:c,decorators:m},O=d.ClassDeclaration;return a(O.id,v,"id",l,1),a(O.superClass,v,"superClass",p,1),a(O.body,v,"body",c,1),a(O.decorators,v,"decorators",m,1),v}r(Fe,"classDeclaration"),n(Fe,"classDeclaration");function Re(l,p=null){const c={type:"ExportAllDeclaration",source:l,attributes:p},m=d.ExportAllDeclaration;return a(m.source,c,"source",l,1),a(m.attributes,c,"attributes",p,1),c}r(Re,"exportAllDeclaration"),n(Re,"exportAllDeclaration");function ke(l){const p={type:"ExportDefaultDeclaration",declaration:l},c=d.ExportDefaultDeclaration;return a(c.declaration,p,"declaration",l,1),p}r(ke,"exportDefaultDeclaration"),n(ke,"exportDefaultDeclaration");function Ke(l=null,p=[],c=null,m=null){const v={type:"ExportNamedDeclaration",declaration:l,specifiers:p,source:c,attributes:m},O=d.ExportNamedDeclaration;return a(O.declaration,v,"declaration",l,1),a(O.specifiers,v,"specifiers",p,1),a(O.source,v,"source",c,1),a(O.attributes,v,"attributes",m,1),v}r(Ke,"exportNamedDeclaration"),n(Ke,"exportNamedDeclaration");function qe(l,p){const c={type:"ExportSpecifier",local:l,exported:p},m=d.ExportSpecifier;return a(m.local,c,"local",l,1),a(m.exported,c,"exported",p,1),c}r(qe,"exportSpecifier"),n(qe,"exportSpecifier");function Se(l,p,c,m=!1){const v={type:"ForOfStatement",left:l,right:p,body:c,await:m},O=d.ForOfStatement;return a(O.left,v,"left",l,1),a(O.right,v,"right",p,1),a(O.body,v,"body",c,1),a(O.await,v,"await",m),v}r(Se,"forOfStatement"),n(Se,"forOfStatement");function Ve(l,p,c=null){const m={type:"ImportDeclaration",specifiers:l,source:p,attributes:c},v=d.ImportDeclaration;return a(v.specifiers,m,"specifiers",l,1),a(v.source,m,"source",p,1),a(v.attributes,m,"attributes",c,1),m}r(Ve,"importDeclaration"),n(Ve,"importDeclaration");function Xe(l){const p={type:"ImportDefaultSpecifier",local:l},c=d.ImportDefaultSpecifier;return a(c.local,p,"local",l,1),p}r(Xe,"importDefaultSpecifier"),n(Xe,"importDefaultSpecifier");function j(l){const p={type:"ImportNamespaceSpecifier",local:l},c=d.ImportNamespaceSpecifier;return a(c.local,p,"local",l,1),p}r(j,"importNamespaceSpecifier"),n(j,"importNamespaceSpecifier");function Ye(l,p){const c={type:"ImportSpecifier",local:l,imported:p},m=d.ImportSpecifier;return a(m.local,c,"local",l,1),a(m.imported,c,"imported",p,1),c}r(Ye,"importSpecifier"),n(Ye,"importSpecifier");function Ge(l,p=null){const c={type:"ImportExpression",source:l,options:p},m=d.ImportExpression;return a(m.source,c,"source",l,1),a(m.options,c,"options",p,1),c}r(Ge,"importExpression"),n(Ge,"importExpression");function ze(l,p){const c={type:"MetaProperty",meta:l,property:p},m=d.MetaProperty;return a(m.meta,c,"meta",l,1),a(m.property,c,"property",p,1),c}r(ze,"metaProperty"),n(ze,"metaProperty");function Qe(l="method",p,c,m,v=!1,O=!1,R=!1,z=!1){const ne={type:"ClassMethod",kind:l,key:p,params:c,body:m,computed:v,static:O,generator:R,async:z},ye=d.ClassMethod;return a(ye.kind,ne,"kind",l),a(ye.key,ne,"key",p,1),a(ye.params,ne,"params",c,1),a(ye.body,ne,"body",m,1),a(ye.computed,ne,"computed",v),a(ye.static,ne,"static",O),a(ye.generator,ne,"generator",R),a(ye.async,ne,"async",z),ne}r(Qe,"classMethod"),n(Qe,"classMethod");function $e(l){const p={type:"ObjectPattern",properties:l},c=d.ObjectPattern;return a(c.properties,p,"properties",l,1),p}r($e,"objectPattern"),n($e,"objectPattern");function Je(l){const p={type:"SpreadElement",argument:l},c=d.SpreadElement;return a(c.argument,p,"argument",l,1),p}r(Je,"spreadElement"),n(Je,"spreadElement");function He(){return{type:"Super"}}r(He,"_super"),n(He,"_super");function Ze(l,p){const c={type:"TaggedTemplateExpression",tag:l,quasi:p},m=d.TaggedTemplateExpression;return a(m.tag,c,"tag",l,1),a(m.quasi,c,"quasi",p,1),c}r(Ze,"taggedTemplateExpression"),n(Ze,"taggedTemplateExpression");function et(l,p=!1){const c={type:"TemplateElement",value:l,tail:p},m=d.TemplateElement;return a(m.value,c,"value",l),a(m.tail,c,"tail",p),c}r(et,"templateElement"),n(et,"templateElement");function tt(l,p){const c={type:"TemplateLiteral",quasis:l,expressions:p},m=d.TemplateLiteral;return a(m.quasis,c,"quasis",l,1),a(m.expressions,c,"expressions",p,1),c}r(tt,"templateLiteral"),n(tt,"templateLiteral");function rt(l=null,p=!1){const c={type:"YieldExpression",argument:l,delegate:p},m=d.YieldExpression;return a(m.argument,c,"argument",l,1),a(m.delegate,c,"delegate",p),c}r(rt,"yieldExpression"),n(rt,"yieldExpression");function nt(l){const p={type:"AwaitExpression",argument:l},c=d.AwaitExpression;return a(c.argument,p,"argument",l,1),p}r(nt,"awaitExpression"),n(nt,"awaitExpression");function at(){return{type:"Import"}}r(at,"_import"),n(at,"_import");function it(l){const p={type:"ExportNamespaceSpecifier",exported:l},c=d.ExportNamespaceSpecifier;return a(c.exported,p,"exported",l,1),p}r(it,"exportNamespaceSpecifier"),n(it,"exportNamespaceSpecifier");function st(l,p,c=!1,m){const v={type:"OptionalMemberExpression",object:l,property:p,computed:c,optional:m},O=d.OptionalMemberExpression;return a(O.object,v,"object",l,1),a(O.property,v,"property",p,1),a(O.computed,v,"computed",c),a(O.optional,v,"optional",m),v}r(st,"optionalMemberExpression"),n(st,"optionalMemberExpression");function ot(l,p,c){const m={type:"OptionalCallExpression",callee:l,arguments:p,optional:c},v=d.OptionalCallExpression;return a(v.callee,m,"callee",l,1),a(v.arguments,m,"arguments",p,1),a(v.optional,m,"optional",c),m}r(ot,"optionalCallExpression"),n(ot,"optionalCallExpression");function lt(l,p=null,c=null,m=null,v=!1,O=!1){const R={type:"ClassProperty",key:l,value:p,typeAnnotation:c,decorators:m,computed:v,static:O},z=d.ClassProperty;return a(z.key,R,"key",l,1),a(z.value,R,"value",p,1),a(z.typeAnnotation,R,"typeAnnotation",c,1),a(z.decorators,R,"decorators",m,1),a(z.computed,R,"computed",v),a(z.static,R,"static",O),R}r(lt,"classProperty"),n(lt,"classProperty");function pt(l,p=null,c=null,m=null,v=!1,O=!1){const R={type:"ClassAccessorProperty",key:l,value:p,typeAnnotation:c,decorators:m,computed:v,static:O},z=d.ClassAccessorProperty;return a(z.key,R,"key",l,1),a(z.value,R,"value",p,1),a(z.typeAnnotation,R,"typeAnnotation",c,1),a(z.decorators,R,"decorators",m,1),a(z.computed,R,"computed",v),a(z.static,R,"static",O),R}r(pt,"classAccessorProperty"),n(pt,"classAccessorProperty");function ut(l,p=null,c=null,m=!1){const v={type:"ClassPrivateProperty",key:l,value:p,decorators:c,static:m},O=d.ClassPrivateProperty;return a(O.key,v,"key",l,1),a(O.value,v,"value",p,1),a(O.decorators,v,"decorators",c,1),a(O.static,v,"static",m),v}r(ut,"classPrivateProperty"),n(ut,"classPrivateProperty");function ct(l="method",p,c,m,v=!1){const O={type:"ClassPrivateMethod",kind:l,key:p,params:c,body:m,static:v},R=d.ClassPrivateMethod;return a(R.kind,O,"kind",l),a(R.key,O,"key",p,1),a(R.params,O,"params",c,1),a(R.body,O,"body",m,1),a(R.static,O,"static",v),O}r(ct,"classPrivateMethod"),n(ct,"classPrivateMethod");function dt(l){const p={type:"PrivateName",id:l},c=d.PrivateName;return a(c.id,p,"id",l,1),p}r(dt,"privateName"),n(dt,"privateName");function yt(l){const p={type:"StaticBlock",body:l},c=d.StaticBlock;return a(c.body,p,"body",l,1),p}r(yt,"staticBlock"),n(yt,"staticBlock");function ft(l,p){const c={type:"ImportAttribute",key:l,value:p},m=d.ImportAttribute;return a(m.key,c,"key",l,1),a(m.value,c,"value",p,1),c}r(ft,"importAttribute"),n(ft,"importAttribute");function Tt(){return{type:"AnyTypeAnnotation"}}r(Tt,"anyTypeAnnotation"),n(Tt,"anyTypeAnnotation");function mt(l){const p={type:"ArrayTypeAnnotation",elementType:l},c=d.ArrayTypeAnnotation;return a(c.elementType,p,"elementType",l,1),p}r(mt,"arrayTypeAnnotation"),n(mt,"arrayTypeAnnotation");function St(){return{type:"BooleanTypeAnnotation"}}r(St,"booleanTypeAnnotation"),n(St,"booleanTypeAnnotation");function Et(l){const p={type:"BooleanLiteralTypeAnnotation",value:l},c=d.BooleanLiteralTypeAnnotation;return a(c.value,p,"value",l),p}r(Et,"booleanLiteralTypeAnnotation"),n(Et,"booleanLiteralTypeAnnotation");function bt(){return{type:"NullLiteralTypeAnnotation"}}r(bt,"nullLiteralTypeAnnotation"),n(bt,"nullLiteralTypeAnnotation");function vt(l,p=null){const c={type:"ClassImplements",id:l,typeParameters:p},m=d.ClassImplements;return a(m.id,c,"id",l,1),a(m.typeParameters,c,"typeParameters",p,1),c}r(vt,"classImplements"),n(vt,"classImplements");function Pt(l,p=null,c=null,m){const v={type:"DeclareClass",id:l,typeParameters:p,extends:c,body:m},O=d.DeclareClass;return a(O.id,v,"id",l,1),a(O.typeParameters,v,"typeParameters",p,1),a(O.extends,v,"extends",c,1),a(O.body,v,"body",m,1),v}r(Pt,"declareClass"),n(Pt,"declareClass");function At(l){const p={type:"DeclareFunction",id:l},c=d.DeclareFunction;return a(c.id,p,"id",l,1),p}r(At,"declareFunction"),n(At,"declareFunction");function xt(l,p=null,c=null,m){const v={type:"DeclareInterface",id:l,typeParameters:p,extends:c,body:m},O=d.DeclareInterface;return a(O.id,v,"id",l,1),a(O.typeParameters,v,"typeParameters",p,1),a(O.extends,v,"extends",c,1),a(O.body,v,"body",m,1),v}r(xt,"declareInterface"),n(xt,"declareInterface");function gt(l,p,c=null){const m={type:"DeclareModule",id:l,body:p,kind:c},v=d.DeclareModule;return a(v.id,m,"id",l,1),a(v.body,m,"body",p,1),a(v.kind,m,"kind",c),m}r(gt,"declareModule"),n(gt,"declareModule");function It(l){const p={type:"DeclareModuleExports",typeAnnotation:l},c=d.DeclareModuleExports;return a(c.typeAnnotation,p,"typeAnnotation",l,1),p}r(It,"declareModuleExports"),n(It,"declareModuleExports");function Ot(l,p=null,c){const m={type:"DeclareTypeAlias",id:l,typeParameters:p,right:c},v=d.DeclareTypeAlias;return a(v.id,m,"id",l,1),a(v.typeParameters,m,"typeParameters",p,1),a(v.right,m,"right",c,1),m}r(Ot,"declareTypeAlias"),n(Ot,"declareTypeAlias");function Dt(l,p=null,c=null){const m={type:"DeclareOpaqueType",id:l,typeParameters:p,supertype:c},v=d.DeclareOpaqueType;return a(v.id,m,"id",l,1),a(v.typeParameters,m,"typeParameters",p,1),a(v.supertype,m,"supertype",c,1),m}r(Dt,"declareOpaqueType"),n(Dt,"declareOpaqueType");function ht(l){const p={type:"DeclareVariable",id:l},c=d.DeclareVariable;return a(c.id,p,"id",l,1),p}r(ht,"declareVariable"),n(ht,"declareVariable");function Nt(l=null,p=null,c=null,m=null){const v={type:"DeclareExportDeclaration",declaration:l,specifiers:p,source:c,attributes:m},O=d.DeclareExportDeclaration;return a(O.declaration,v,"declaration",l,1),a(O.specifiers,v,"specifiers",p,1),a(O.source,v,"source",c,1),a(O.attributes,v,"attributes",m,1),v}r(Nt,"declareExportDeclaration"),n(Nt,"declareExportDeclaration");function Lt(l,p=null){const c={type:"DeclareExportAllDeclaration",source:l,attributes:p},m=d.DeclareExportAllDeclaration;return a(m.source,c,"source",l,1),a(m.attributes,c,"attributes",p,1),c}r(Lt,"declareExportAllDeclaration"),n(Lt,"declareExportAllDeclaration");function Ct(l){const p={type:"DeclaredPredicate",value:l},c=d.DeclaredPredicate;return a(c.value,p,"value",l,1),p}r(Ct,"declaredPredicate"),n(Ct,"declaredPredicate");function _t(){return{type:"ExistsTypeAnnotation"}}r(_t,"existsTypeAnnotation"),n(_t,"existsTypeAnnotation");function Bt(l=null,p,c=null,m){const v={type:"FunctionTypeAnnotation",typeParameters:l,params:p,rest:c,returnType:m},O=d.FunctionTypeAnnotation;return a(O.typeParameters,v,"typeParameters",l,1),a(O.params,v,"params",p,1),a(O.rest,v,"rest",c,1),a(O.returnType,v,"returnType",m,1),v}r(Bt,"functionTypeAnnotation"),n(Bt,"functionTypeAnnotation");function Mt(l=null,p){const c={type:"FunctionTypeParam",name:l,typeAnnotation:p},m=d.FunctionTypeParam;return a(m.name,c,"name",l,1),a(m.typeAnnotation,c,"typeAnnotation",p,1),c}r(Mt,"functionTypeParam"),n(Mt,"functionTypeParam");function jt(l,p=null){const c={type:"GenericTypeAnnotation",id:l,typeParameters:p},m=d.GenericTypeAnnotation;return a(m.id,c,"id",l,1),a(m.typeParameters,c,"typeParameters",p,1),c}r(jt,"genericTypeAnnotation"),n(jt,"genericTypeAnnotation");function wt(){return{type:"InferredPredicate"}}r(wt,"inferredPredicate"),n(wt,"inferredPredicate");function Ft(l,p=null){const c={type:"InterfaceExtends",id:l,typeParameters:p},m=d.InterfaceExtends;return a(m.id,c,"id",l,1),a(m.typeParameters,c,"typeParameters",p,1),c}r(Ft,"interfaceExtends"),n(Ft,"interfaceExtends");function Rt(l,p=null,c=null,m){const v={type:"InterfaceDeclaration",id:l,typeParameters:p,extends:c,body:m},O=d.InterfaceDeclaration;return a(O.id,v,"id",l,1),a(O.typeParameters,v,"typeParameters",p,1),a(O.extends,v,"extends",c,1),a(O.body,v,"body",m,1),v}r(Rt,"interfaceDeclaration"),n(Rt,"interfaceDeclaration");function kt(l=null,p){const c={type:"InterfaceTypeAnnotation",extends:l,body:p},m=d.InterfaceTypeAnnotation;return a(m.extends,c,"extends",l,1),a(m.body,c,"body",p,1),c}r(kt,"interfaceTypeAnnotation"),n(kt,"interfaceTypeAnnotation");function Kt(l){const p={type:"IntersectionTypeAnnotation",types:l},c=d.IntersectionTypeAnnotation;return a(c.types,p,"types",l,1),p}r(Kt,"intersectionTypeAnnotation"),n(Kt,"intersectionTypeAnnotation");function qt(){return{type:"MixedTypeAnnotation"}}r(qt,"mixedTypeAnnotation"),n(qt,"mixedTypeAnnotation");function Vt(){return{type:"EmptyTypeAnnotation"}}r(Vt,"emptyTypeAnnotation"),n(Vt,"emptyTypeAnnotation");function Xt(l){const p={type:"NullableTypeAnnotation",typeAnnotation:l},c=d.NullableTypeAnnotation;return a(c.typeAnnotation,p,"typeAnnotation",l,1),p}r(Xt,"nullableTypeAnnotation"),n(Xt,"nullableTypeAnnotation");function Yt(l){const p={type:"NumberLiteralTypeAnnotation",value:l},c=d.NumberLiteralTypeAnnotation;return a(c.value,p,"value",l),p}r(Yt,"numberLiteralTypeAnnotation"),n(Yt,"numberLiteralTypeAnnotation");function Jt(){return{type:"NumberTypeAnnotation"}}r(Jt,"numberTypeAnnotation"),n(Jt,"numberTypeAnnotation");function Ut(l,p=[],c=[],m=[],v=!1){const O={type:"ObjectTypeAnnotation",properties:l,indexers:p,callProperties:c,internalSlots:m,exact:v},R=d.ObjectTypeAnnotation;return a(R.properties,O,"properties",l,1),a(R.indexers,O,"indexers",p,1),a(R.callProperties,O,"callProperties",c,1),a(R.internalSlots,O,"internalSlots",m,1),a(R.exact,O,"exact",v),O}r(Ut,"objectTypeAnnotation"),n(Ut,"objectTypeAnnotation");function Wt(l,p,c,m,v){const O={type:"ObjectTypeInternalSlot",id:l,value:p,optional:c,static:m,method:v},R=d.ObjectTypeInternalSlot;return a(R.id,O,"id",l,1),a(R.value,O,"value",p,1),a(R.optional,O,"optional",c),a(R.static,O,"static",m),a(R.method,O,"method",v),O}r(Wt,"objectTypeInternalSlot"),n(Wt,"objectTypeInternalSlot");function Gt(l){const p={type:"ObjectTypeCallProperty",value:l,static:null},c=d.ObjectTypeCallProperty;return a(c.value,p,"value",l,1),p}r(Gt,"objectTypeCallProperty"),n(Gt,"objectTypeCallProperty");function zt(l=null,p,c,m=null){const v={type:"ObjectTypeIndexer",id:l,key:p,value:c,variance:m,static:null},O=d.ObjectTypeIndexer;return a(O.id,v,"id",l,1),a(O.key,v,"key",p,1),a(O.value,v,"value",c,1),a(O.variance,v,"variance",m,1),v}r(zt,"objectTypeIndexer"),n(zt,"objectTypeIndexer");function Qt(l,p,c=null){const m={type:"ObjectTypeProperty",key:l,value:p,variance:c,kind:null,method:null,optional:null,proto:null,static:null},v=d.ObjectTypeProperty;return a(v.key,m,"key",l,1),a(v.value,m,"value",p,1),a(v.variance,m,"variance",c,1),m}r(Qt,"objectTypeProperty"),n(Qt,"objectTypeProperty");function $t(l){const p={type:"ObjectTypeSpreadProperty",argument:l},c=d.ObjectTypeSpreadProperty;return a(c.argument,p,"argument",l,1),p}r($t,"objectTypeSpreadProperty"),n($t,"objectTypeSpreadProperty");function Ht(l,p=null,c=null,m){const v={type:"OpaqueType",id:l,typeParameters:p,supertype:c,impltype:m},O=d.OpaqueType;return a(O.id,v,"id",l,1),a(O.typeParameters,v,"typeParameters",p,1),a(O.supertype,v,"supertype",c,1),a(O.impltype,v,"impltype",m,1),v}r(Ht,"opaqueType"),n(Ht,"opaqueType");function Zt(l,p){const c={type:"QualifiedTypeIdentifier",id:l,qualification:p},m=d.QualifiedTypeIdentifier;return a(m.id,c,"id",l,1),a(m.qualification,c,"qualification",p,1),c}r(Zt,"qualifiedTypeIdentifier"),n(Zt,"qualifiedTypeIdentifier");function er(l){const p={type:"StringLiteralTypeAnnotation",value:l},c=d.StringLiteralTypeAnnotation;return a(c.value,p,"value",l),p}r(er,"stringLiteralTypeAnnotation"),n(er,"stringLiteralTypeAnnotation");function tr(){return{type:"StringTypeAnnotation"}}r(tr,"stringTypeAnnotation"),n(tr,"stringTypeAnnotation");function rr(){return{type:"SymbolTypeAnnotation"}}r(rr,"symbolTypeAnnotation"),n(rr,"symbolTypeAnnotation");function nr(){return{type:"ThisTypeAnnotation"}}r(nr,"thisTypeAnnotation"),n(nr,"thisTypeAnnotation");function ar(l){const p={type:"TupleTypeAnnotation",types:l},c=d.TupleTypeAnnotation;return a(c.types,p,"types",l,1),p}r(ar,"tupleTypeAnnotation"),n(ar,"tupleTypeAnnotation");function ir(l){const p={type:"TypeofTypeAnnotation",argument:l},c=d.TypeofTypeAnnotation;return a(c.argument,p,"argument",l,1),p}r(ir,"typeofTypeAnnotation"),n(ir,"typeofTypeAnnotation");function sr(l,p=null,c){const m={type:"TypeAlias",id:l,typeParameters:p,right:c},v=d.TypeAlias;return a(v.id,m,"id",l,1),a(v.typeParameters,m,"typeParameters",p,1),a(v.right,m,"right",c,1),m}r(sr,"typeAlias"),n(sr,"typeAlias");function or(l){const p={type:"TypeAnnotation",typeAnnotation:l},c=d.TypeAnnotation;return a(c.typeAnnotation,p,"typeAnnotation",l,1),p}r(or,"typeAnnotation"),n(or,"typeAnnotation");function lr(l,p){const c={type:"TypeCastExpression",expression:l,typeAnnotation:p},m=d.TypeCastExpression;return a(m.expression,c,"expression",l,1),a(m.typeAnnotation,c,"typeAnnotation",p,1),c}r(lr,"typeCastExpression"),n(lr,"typeCastExpression");function pr(l=null,p=null,c=null){const m={type:"TypeParameter",bound:l,default:p,variance:c,name:null},v=d.TypeParameter;return a(v.bound,m,"bound",l,1),a(v.default,m,"default",p,1),a(v.variance,m,"variance",c,1),m}r(pr,"typeParameter"),n(pr,"typeParameter");function ur(l){const p={type:"TypeParameterDeclaration",params:l},c=d.TypeParameterDeclaration;return a(c.params,p,"params",l,1),p}r(ur,"typeParameterDeclaration"),n(ur,"typeParameterDeclaration");function cr(l){const p={type:"TypeParameterInstantiation",params:l},c=d.TypeParameterInstantiation;return a(c.params,p,"params",l,1),p}r(cr,"typeParameterInstantiation"),n(cr,"typeParameterInstantiation");function dr(l){const p={type:"UnionTypeAnnotation",types:l},c=d.UnionTypeAnnotation;return a(c.types,p,"types",l,1),p}r(dr,"unionTypeAnnotation"),n(dr,"unionTypeAnnotation");function yr(l){const p={type:"Variance",kind:l},c=d.Variance;return a(c.kind,p,"kind",l),p}r(yr,"variance"),n(yr,"variance");function fr(){return{type:"VoidTypeAnnotation"}}r(fr,"voidTypeAnnotation"),n(fr,"voidTypeAnnotation");function Tr(l,p){const c={type:"EnumDeclaration",id:l,body:p},m=d.EnumDeclaration;return a(m.id,c,"id",l,1),a(m.body,c,"body",p,1),c}r(Tr,"enumDeclaration"),n(Tr,"enumDeclaration");function mr(l){const p={type:"EnumBooleanBody",members:l,explicitType:null,hasUnknownMembers:null},c=d.EnumBooleanBody;return a(c.members,p,"members",l,1),p}r(mr,"enumBooleanBody"),n(mr,"enumBooleanBody");function Sr(l){const p={type:"EnumNumberBody",members:l,explicitType:null,hasUnknownMembers:null},c=d.EnumNumberBody;return a(c.members,p,"members",l,1),p}r(Sr,"enumNumberBody"),n(Sr,"enumNumberBody");function Er(l){const p={type:"EnumStringBody",members:l,explicitType:null,hasUnknownMembers:null},c=d.EnumStringBody;return a(c.members,p,"members",l,1),p}r(Er,"enumStringBody"),n(Er,"enumStringBody");function br(l){const p={type:"EnumSymbolBody",members:l,hasUnknownMembers:null},c=d.EnumSymbolBody;return a(c.members,p,"members",l,1),p}r(br,"enumSymbolBody"),n(br,"enumSymbolBody");function vr(l){const p={type:"EnumBooleanMember",id:l,init:null},c=d.EnumBooleanMember;return a(c.id,p,"id",l,1),p}r(vr,"enumBooleanMember"),n(vr,"enumBooleanMember");function Pr(l,p){const c={type:"EnumNumberMember",id:l,init:p},m=d.EnumNumberMember;return a(m.id,c,"id",l,1),a(m.init,c,"init",p,1),c}r(Pr,"enumNumberMember"),n(Pr,"enumNumberMember");function Ar(l,p){const c={type:"EnumStringMember",id:l,init:p},m=d.EnumStringMember;return a(m.id,c,"id",l,1),a(m.init,c,"init",p,1),c}r(Ar,"enumStringMember"),n(Ar,"enumStringMember");function xr(l){const p={type:"EnumDefaultedMember",id:l},c=d.EnumDefaultedMember;return a(c.id,p,"id",l,1),p}r(xr,"enumDefaultedMember"),n(xr,"enumDefaultedMember");function gr(l,p){const c={type:"IndexedAccessType",objectType:l,indexType:p},m=d.IndexedAccessType;return a(m.objectType,c,"objectType",l,1),a(m.indexType,c,"indexType",p,1),c}r(gr,"indexedAccessType"),n(gr,"indexedAccessType");function Ir(l,p){const c={type:"OptionalIndexedAccessType",objectType:l,indexType:p,optional:null},m=d.OptionalIndexedAccessType;return a(m.objectType,c,"objectType",l,1),a(m.indexType,c,"indexType",p,1),c}r(Ir,"optionalIndexedAccessType"),n(Ir,"optionalIndexedAccessType");function Or(l,p=null){const c={type:"JSXAttribute",name:l,value:p},m=d.JSXAttribute;return a(m.name,c,"name",l,1),a(m.value,c,"value",p,1),c}r(Or,"jsxAttribute"),n(Or,"jsxAttribute");function Dr(l){const p={type:"JSXClosingElement",name:l},c=d.JSXClosingElement;return a(c.name,p,"name",l,1),p}r(Dr,"jsxClosingElement"),n(Dr,"jsxClosingElement");function hr(l,p=null,c,m=null){const v={type:"JSXElement",openingElement:l,closingElement:p,children:c,selfClosing:m},O=d.JSXElement;return a(O.openingElement,v,"openingElement",l,1),a(O.closingElement,v,"closingElement",p,1),a(O.children,v,"children",c,1),a(O.selfClosing,v,"selfClosing",m),v}r(hr,"jsxElement"),n(hr,"jsxElement");function Nr(){return{type:"JSXEmptyExpression"}}r(Nr,"jsxEmptyExpression"),n(Nr,"jsxEmptyExpression");function Lr(l){const p={type:"JSXExpressionContainer",expression:l},c=d.JSXExpressionContainer;return a(c.expression,p,"expression",l,1),p}r(Lr,"jsxExpressionContainer"),n(Lr,"jsxExpressionContainer");function Cr(l){const p={type:"JSXSpreadChild",expression:l},c=d.JSXSpreadChild;return a(c.expression,p,"expression",l,1),p}r(Cr,"jsxSpreadChild"),n(Cr,"jsxSpreadChild");function _r(l){const p={type:"JSXIdentifier",name:l},c=d.JSXIdentifier;return a(c.name,p,"name",l),p}r(_r,"jsxIdentifier"),n(_r,"jsxIdentifier");function Br(l,p){const c={type:"JSXMemberExpression",object:l,property:p},m=d.JSXMemberExpression;return a(m.object,c,"object",l,1),a(m.property,c,"property",p,1),c}r(Br,"jsxMemberExpression"),n(Br,"jsxMemberExpression");function Mr(l,p){const c={type:"JSXNamespacedName",namespace:l,name:p},m=d.JSXNamespacedName;return a(m.namespace,c,"namespace",l,1),a(m.name,c,"name",p,1),c}r(Mr,"jsxNamespacedName"),n(Mr,"jsxNamespacedName");function jr(l,p,c=!1){const m={type:"JSXOpeningElement",name:l,attributes:p,selfClosing:c},v=d.JSXOpeningElement;return a(v.name,m,"name",l,1),a(v.attributes,m,"attributes",p,1),a(v.selfClosing,m,"selfClosing",c),m}r(jr,"jsxOpeningElement"),n(jr,"jsxOpeningElement");function wr(l){const p={type:"JSXSpreadAttribute",argument:l},c=d.JSXSpreadAttribute;return a(c.argument,p,"argument",l,1),p}r(wr,"jsxSpreadAttribute"),n(wr,"jsxSpreadAttribute");function Fr(l){const p={type:"JSXText",value:l},c=d.JSXText;return a(c.value,p,"value",l),p}r(Fr,"jsxText"),n(Fr,"jsxText");function Rr(l,p,c){const m={type:"JSXFragment",openingFragment:l,closingFragment:p,children:c},v=d.JSXFragment;return a(v.openingFragment,m,"openingFragment",l,1),a(v.closingFragment,m,"closingFragment",p,1),a(v.children,m,"children",c,1),m}r(Rr,"jsxFragment"),n(Rr,"jsxFragment");function kr(){return{type:"JSXOpeningFragment"}}r(kr,"jsxOpeningFragment"),n(kr,"jsxOpeningFragment");function Kr(){return{type:"JSXClosingFragment"}}r(Kr,"jsxClosingFragment"),n(Kr,"jsxClosingFragment");function qr(){return{type:"Noop"}}r(qr,"noop"),n(qr,"noop");function Vr(l,p){const c={type:"Placeholder",expectedNode:l,name:p},m=d.Placeholder;return a(m.expectedNode,c,"expectedNode",l),a(m.name,c,"name",p,1),c}r(Vr,"placeholder"),n(Vr,"placeholder");function Xr(l){const p={type:"V8IntrinsicIdentifier",name:l},c=d.V8IntrinsicIdentifier;return a(c.name,p,"name",l),p}r(Xr,"v8IntrinsicIdentifier"),n(Xr,"v8IntrinsicIdentifier");function Yr(){return{type:"ArgumentPlaceholder"}}r(Yr,"argumentPlaceholder"),n(Yr,"argumentPlaceholder");function Jr(l,p){const c={type:"BindExpression",object:l,callee:p},m=d.BindExpression;return a(m.object,c,"object",l,1),a(m.callee,c,"callee",p,1),c}r(Jr,"bindExpression"),n(Jr,"bindExpression");function Ur(l){const p={type:"Decorator",expression:l},c=d.Decorator;return a(c.expression,p,"expression",l,1),p}r(Ur,"decorator"),n(Ur,"decorator");function Wr(l,p=!1){const c={type:"DoExpression",body:l,async:p},m=d.DoExpression;return a(m.body,c,"body",l,1),a(m.async,c,"async",p),c}r(Wr,"doExpression"),n(Wr,"doExpression");function Gr(l){const p={type:"ExportDefaultSpecifier",exported:l},c=d.ExportDefaultSpecifier;return a(c.exported,p,"exported",l,1),p}r(Gr,"exportDefaultSpecifier"),n(Gr,"exportDefaultSpecifier");function zr(l){const p={type:"RecordExpression",properties:l},c=d.RecordExpression;return a(c.properties,p,"properties",l,1),p}r(zr,"recordExpression"),n(zr,"recordExpression");function Qr(l=[]){const p={type:"TupleExpression",elements:l},c=d.TupleExpression;return a(c.elements,p,"elements",l,1),p}r(Qr,"tupleExpression"),n(Qr,"tupleExpression");function $r(l){const p={type:"DecimalLiteral",value:l},c=d.DecimalLiteral;return a(c.value,p,"value",l),p}r($r,"decimalLiteral"),n($r,"decimalLiteral");function Hr(l){const p={type:"ModuleExpression",body:l},c=d.ModuleExpression;return a(c.body,p,"body",l,1),p}r(Hr,"moduleExpression"),n(Hr,"moduleExpression");function Zr(){return{type:"TopicReference"}}r(Zr,"topicReference"),n(Zr,"topicReference");function en(l){const p={type:"PipelineTopicExpression",expression:l},c=d.PipelineTopicExpression;return a(c.expression,p,"expression",l,1),p}r(en,"pipelineTopicExpression"),n(en,"pipelineTopicExpression");function tn(l){const p={type:"PipelineBareFunction",callee:l},c=d.PipelineBareFunction;return a(c.callee,p,"callee",l,1),p}r(tn,"pipelineBareFunction"),n(tn,"pipelineBareFunction");function rn(){return{type:"PipelinePrimaryTopicReference"}}r(rn,"pipelinePrimaryTopicReference"),n(rn,"pipelinePrimaryTopicReference");function nn(){return{type:"VoidPattern"}}r(nn,"voidPattern"),n(nn,"voidPattern");function an(l){const p={type:"TSParameterProperty",parameter:l},c=d.TSParameterProperty;return a(c.parameter,p,"parameter",l,1),p}r(an,"tsParameterProperty"),n(an,"tsParameterProperty");function sn(l=null,p=null,c,m=null){const v={type:"TSDeclareFunction",id:l,typeParameters:p,params:c,returnType:m},O=d.TSDeclareFunction;return a(O.id,v,"id",l,1),a(O.typeParameters,v,"typeParameters",p,1),a(O.params,v,"params",c,1),a(O.returnType,v,"returnType",m,1),v}r(sn,"tsDeclareFunction"),n(sn,"tsDeclareFunction");function on(l=null,p,c=null,m,v=null){const O={type:"TSDeclareMethod",decorators:l,key:p,typeParameters:c,params:m,returnType:v},R=d.TSDeclareMethod;return a(R.decorators,O,"decorators",l,1),a(R.key,O,"key",p,1),a(R.typeParameters,O,"typeParameters",c,1),a(R.params,O,"params",m,1),a(R.returnType,O,"returnType",v,1),O}r(on,"tsDeclareMethod"),n(on,"tsDeclareMethod");function ln(l,p){const c={type:"TSQualifiedName",left:l,right:p},m=d.TSQualifiedName;return a(m.left,c,"left",l,1),a(m.right,c,"right",p,1),c}r(ln,"tsQualifiedName"),n(ln,"tsQualifiedName");function pn(l=null,p,c=null){const m={type:"TSCallSignatureDeclaration",typeParameters:l,parameters:p,typeAnnotation:c},v=d.TSCallSignatureDeclaration;return a(v.typeParameters,m,"typeParameters",l,1),a(v.parameters,m,"parameters",p,1),a(v.typeAnnotation,m,"typeAnnotation",c,1),m}r(pn,"tsCallSignatureDeclaration"),n(pn,"tsCallSignatureDeclaration");function un(l=null,p,c=null){const m={type:"TSConstructSignatureDeclaration",typeParameters:l,parameters:p,typeAnnotation:c},v=d.TSConstructSignatureDeclaration;return a(v.typeParameters,m,"typeParameters",l,1),a(v.parameters,m,"parameters",p,1),a(v.typeAnnotation,m,"typeAnnotation",c,1),m}r(un,"tsConstructSignatureDeclaration"),n(un,"tsConstructSignatureDeclaration");function cn(l,p=null){const c={type:"TSPropertySignature",key:l,typeAnnotation:p},m=d.TSPropertySignature;return a(m.key,c,"key",l,1),a(m.typeAnnotation,c,"typeAnnotation",p,1),c}r(cn,"tsPropertySignature"),n(cn,"tsPropertySignature");function dn(l,p=null,c,m=null){const v={type:"TSMethodSignature",key:l,typeParameters:p,parameters:c,typeAnnotation:m,kind:null},O=d.TSMethodSignature;return a(O.key,v,"key",l,1),a(O.typeParameters,v,"typeParameters",p,1),a(O.parameters,v,"parameters",c,1),a(O.typeAnnotation,v,"typeAnnotation",m,1),v}r(dn,"tsMethodSignature"),n(dn,"tsMethodSignature");function yn(l,p=null){const c={type:"TSIndexSignature",parameters:l,typeAnnotation:p},m=d.TSIndexSignature;return a(m.parameters,c,"parameters",l,1),a(m.typeAnnotation,c,"typeAnnotation",p,1),c}r(yn,"tsIndexSignature"),n(yn,"tsIndexSignature");function fn(){return{type:"TSAnyKeyword"}}r(fn,"tsAnyKeyword"),n(fn,"tsAnyKeyword");function Tn(){return{type:"TSBooleanKeyword"}}r(Tn,"tsBooleanKeyword"),n(Tn,"tsBooleanKeyword");function mn(){return{type:"TSBigIntKeyword"}}r(mn,"tsBigIntKeyword"),n(mn,"tsBigIntKeyword");function Sn(){return{type:"TSIntrinsicKeyword"}}r(Sn,"tsIntrinsicKeyword"),n(Sn,"tsIntrinsicKeyword");function En(){return{type:"TSNeverKeyword"}}r(En,"tsNeverKeyword"),n(En,"tsNeverKeyword");function bn(){return{type:"TSNullKeyword"}}r(bn,"tsNullKeyword"),n(bn,"tsNullKeyword");function vn(){return{type:"TSNumberKeyword"}}r(vn,"tsNumberKeyword"),n(vn,"tsNumberKeyword");function Pn(){return{type:"TSObjectKeyword"}}r(Pn,"tsObjectKeyword"),n(Pn,"tsObjectKeyword");function An(){return{type:"TSStringKeyword"}}r(An,"tsStringKeyword"),n(An,"tsStringKeyword");function xn(){return{type:"TSSymbolKeyword"}}r(xn,"tsSymbolKeyword"),n(xn,"tsSymbolKeyword");function gn(){return{type:"TSUndefinedKeyword"}}r(gn,"tsUndefinedKeyword"),n(gn,"tsUndefinedKeyword");function In(){return{type:"TSUnknownKeyword"}}r(In,"tsUnknownKeyword"),n(In,"tsUnknownKeyword");function On(){return{type:"TSVoidKeyword"}}r(On,"tsVoidKeyword"),n(On,"tsVoidKeyword");function Dn(){return{type:"TSThisType"}}r(Dn,"tsThisType"),n(Dn,"tsThisType");function hn(l=null,p,c=null){const m={type:"TSFunctionType",typeParameters:l,parameters:p,typeAnnotation:c},v=d.TSFunctionType;return a(v.typeParameters,m,"typeParameters",l,1),a(v.parameters,m,"parameters",p,1),a(v.typeAnnotation,m,"typeAnnotation",c,1),m}r(hn,"tsFunctionType"),n(hn,"tsFunctionType");function Nn(l=null,p,c=null){const m={type:"TSConstructorType",typeParameters:l,parameters:p,typeAnnotation:c},v=d.TSConstructorType;return a(v.typeParameters,m,"typeParameters",l,1),a(v.parameters,m,"parameters",p,1),a(v.typeAnnotation,m,"typeAnnotation",c,1),m}r(Nn,"tsConstructorType"),n(Nn,"tsConstructorType");function Ln(l,p=null){const c={type:"TSTypeReference",typeName:l,typeParameters:p},m=d.TSTypeReference;return a(m.typeName,c,"typeName",l,1),a(m.typeParameters,c,"typeParameters",p,1),c}r(Ln,"tsTypeReference"),n(Ln,"tsTypeReference");function Cn(l,p=null,c=null){const m={type:"TSTypePredicate",parameterName:l,typeAnnotation:p,asserts:c},v=d.TSTypePredicate;return a(v.parameterName,m,"parameterName",l,1),a(v.typeAnnotation,m,"typeAnnotation",p,1),a(v.asserts,m,"asserts",c),m}r(Cn,"tsTypePredicate"),n(Cn,"tsTypePredicate");function _n(l,p=null){const c={type:"TSTypeQuery",exprName:l,typeParameters:p},m=d.TSTypeQuery;return a(m.exprName,c,"exprName",l,1),a(m.typeParameters,c,"typeParameters",p,1),c}r(_n,"tsTypeQuery"),n(_n,"tsTypeQuery");function Bn(l){const p={type:"TSTypeLiteral",members:l},c=d.TSTypeLiteral;return a(c.members,p,"members",l,1),p}r(Bn,"tsTypeLiteral"),n(Bn,"tsTypeLiteral");function Mn(l){const p={type:"TSArrayType",elementType:l},c=d.TSArrayType;return a(c.elementType,p,"elementType",l,1),p}r(Mn,"tsArrayType"),n(Mn,"tsArrayType");function jn(l){const p={type:"TSTupleType",elementTypes:l},c=d.TSTupleType;return a(c.elementTypes,p,"elementTypes",l,1),p}r(jn,"tsTupleType"),n(jn,"tsTupleType");function wn(l){const p={type:"TSOptionalType",typeAnnotation:l},c=d.TSOptionalType;return a(c.typeAnnotation,p,"typeAnnotation",l,1),p}r(wn,"tsOptionalType"),n(wn,"tsOptionalType");function Fn(l){const p={type:"TSRestType",typeAnnotation:l},c=d.TSRestType;return a(c.typeAnnotation,p,"typeAnnotation",l,1),p}r(Fn,"tsRestType"),n(Fn,"tsRestType");function Rn(l,p,c=!1){const m={type:"TSNamedTupleMember",label:l,elementType:p,optional:c},v=d.TSNamedTupleMember;return a(v.label,m,"label",l,1),a(v.elementType,m,"elementType",p,1),a(v.optional,m,"optional",c),m}r(Rn,"tsNamedTupleMember"),n(Rn,"tsNamedTupleMember");function kn(l){const p={type:"TSUnionType",types:l},c=d.TSUnionType;return a(c.types,p,"types",l,1),p}r(kn,"tsUnionType"),n(kn,"tsUnionType");function Kn(l){const p={type:"TSIntersectionType",types:l},c=d.TSIntersectionType;return a(c.types,p,"types",l,1),p}r(Kn,"tsIntersectionType"),n(Kn,"tsIntersectionType");function qn(l,p,c,m){const v={type:"TSConditionalType",checkType:l,extendsType:p,trueType:c,falseType:m},O=d.TSConditionalType;return a(O.checkType,v,"checkType",l,1),a(O.extendsType,v,"extendsType",p,1),a(O.trueType,v,"trueType",c,1),a(O.falseType,v,"falseType",m,1),v}r(qn,"tsConditionalType"),n(qn,"tsConditionalType");function Vn(l){const p={type:"TSInferType",typeParameter:l},c=d.TSInferType;return a(c.typeParameter,p,"typeParameter",l,1),p}r(Vn,"tsInferType"),n(Vn,"tsInferType");function Xn(l){const p={type:"TSParenthesizedType",typeAnnotation:l},c=d.TSParenthesizedType;return a(c.typeAnnotation,p,"typeAnnotation",l,1),p}r(Xn,"tsParenthesizedType"),n(Xn,"tsParenthesizedType");function Yn(l,p="keyof"){const c={type:"TSTypeOperator",typeAnnotation:l,operator:p},m=d.TSTypeOperator;return a(m.typeAnnotation,c,"typeAnnotation",l,1),a(m.operator,c,"operator",p),c}r(Yn,"tsTypeOperator"),n(Yn,"tsTypeOperator");function Jn(l,p){const c={type:"TSIndexedAccessType",objectType:l,indexType:p},m=d.TSIndexedAccessType;return a(m.objectType,c,"objectType",l,1),a(m.indexType,c,"indexType",p,1),c}r(Jn,"tsIndexedAccessType"),n(Jn,"tsIndexedAccessType");function Un(l,p=null,c=null){const m={type:"TSMappedType",typeParameter:l,typeAnnotation:p,nameType:c},v=d.TSMappedType;return a(v.typeParameter,m,"typeParameter",l,1),a(v.typeAnnotation,m,"typeAnnotation",p,1),a(v.nameType,m,"nameType",c,1),m}r(Un,"tsMappedType"),n(Un,"tsMappedType");function Wn(l,p){const c={type:"TSTemplateLiteralType",quasis:l,types:p},m=d.TSTemplateLiteralType;return a(m.quasis,c,"quasis",l,1),a(m.types,c,"types",p,1),c}r(Wn,"tsTemplateLiteralType"),n(Wn,"tsTemplateLiteralType");function Gn(l){const p={type:"TSLiteralType",literal:l},c=d.TSLiteralType;return a(c.literal,p,"literal",l,1),p}r(Gn,"tsLiteralType"),n(Gn,"tsLiteralType");function zn(l,p=null){const c={type:"TSExpressionWithTypeArguments",expression:l,typeParameters:p},m=d.TSExpressionWithTypeArguments;return a(m.expression,c,"expression",l,1),a(m.typeParameters,c,"typeParameters",p,1),c}r(zn,"tsExpressionWithTypeArguments"),n(zn,"tsExpressionWithTypeArguments");function Qn(l,p=null,c=null,m){const v={type:"TSInterfaceDeclaration",id:l,typeParameters:p,extends:c,body:m},O=d.TSInterfaceDeclaration;return a(O.id,v,"id",l,1),a(O.typeParameters,v,"typeParameters",p,1),a(O.extends,v,"extends",c,1),a(O.body,v,"body",m,1),v}r(Qn,"tsInterfaceDeclaration"),n(Qn,"tsInterfaceDeclaration");function $n(l){const p={type:"TSInterfaceBody",body:l},c=d.TSInterfaceBody;return a(c.body,p,"body",l,1),p}r($n,"tsInterfaceBody"),n($n,"tsInterfaceBody");function Hn(l,p=null,c){const m={type:"TSTypeAliasDeclaration",id:l,typeParameters:p,typeAnnotation:c},v=d.TSTypeAliasDeclaration;return a(v.id,m,"id",l,1),a(v.typeParameters,m,"typeParameters",p,1),a(v.typeAnnotation,m,"typeAnnotation",c,1),m}r(Hn,"tsTypeAliasDeclaration"),n(Hn,"tsTypeAliasDeclaration");function Zn(l,p=null){const c={type:"TSInstantiationExpression",expression:l,typeParameters:p},m=d.TSInstantiationExpression;return a(m.expression,c,"expression",l,1),a(m.typeParameters,c,"typeParameters",p,1),c}r(Zn,"tsInstantiationExpression"),n(Zn,"tsInstantiationExpression");function ea(l,p){const c={type:"TSAsExpression",expression:l,typeAnnotation:p},m=d.TSAsExpression;return a(m.expression,c,"expression",l,1),a(m.typeAnnotation,c,"typeAnnotation",p,1),c}r(ea,"tsAsExpression"),n(ea,"tsAsExpression");function ta(l,p){const c={type:"TSSatisfiesExpression",expression:l,typeAnnotation:p},m=d.TSSatisfiesExpression;return a(m.expression,c,"expression",l,1),a(m.typeAnnotation,c,"typeAnnotation",p,1),c}r(ta,"tsSatisfiesExpression"),n(ta,"tsSatisfiesExpression");function ra(l,p){const c={type:"TSTypeAssertion",typeAnnotation:l,expression:p},m=d.TSTypeAssertion;return a(m.typeAnnotation,c,"typeAnnotation",l,1),a(m.expression,c,"expression",p,1),c}r(ra,"tsTypeAssertion"),n(ra,"tsTypeAssertion");function na(l){const p={type:"TSEnumBody",members:l},c=d.TSEnumBody;return a(c.members,p,"members",l,1),p}r(na,"tsEnumBody"),n(na,"tsEnumBody");function aa(l,p){const c={type:"TSEnumDeclaration",id:l,members:p},m=d.TSEnumDeclaration;return a(m.id,c,"id",l,1),a(m.members,c,"members",p,1),c}r(aa,"tsEnumDeclaration"),n(aa,"tsEnumDeclaration");function ia(l,p=null){const c={type:"TSEnumMember",id:l,initializer:p},m=d.TSEnumMember;return a(m.id,c,"id",l,1),a(m.initializer,c,"initializer",p,1),c}r(ia,"tsEnumMember"),n(ia,"tsEnumMember");function sa(l,p){const c={type:"TSModuleDeclaration",id:l,body:p,kind:null},m=d.TSModuleDeclaration;return a(m.id,c,"id",l,1),a(m.body,c,"body",p,1),c}r(sa,"tsModuleDeclaration"),n(sa,"tsModuleDeclaration");function oa(l){const p={type:"TSModuleBlock",body:l},c=d.TSModuleBlock;return a(c.body,p,"body",l,1),p}r(oa,"tsModuleBlock"),n(oa,"tsModuleBlock");function la(l,p=null,c=null){const m={type:"TSImportType",argument:l,qualifier:p,typeParameters:c},v=d.TSImportType;return a(v.argument,m,"argument",l,1),a(v.qualifier,m,"qualifier",p,1),a(v.typeParameters,m,"typeParameters",c,1),m}r(la,"tsImportType"),n(la,"tsImportType");function pa(l,p){const c={type:"TSImportEqualsDeclaration",id:l,moduleReference:p,isExport:null},m=d.TSImportEqualsDeclaration;return a(m.id,c,"id",l,1),a(m.moduleReference,c,"moduleReference",p,1),c}r(pa,"tsImportEqualsDeclaration"),n(pa,"tsImportEqualsDeclaration");function ua(l){const p={type:"TSExternalModuleReference",expression:l},c=d.TSExternalModuleReference;return a(c.expression,p,"expression",l,1),p}r(ua,"tsExternalModuleReference"),n(ua,"tsExternalModuleReference");function ca(l){const p={type:"TSNonNullExpression",expression:l},c=d.TSNonNullExpression;return a(c.expression,p,"expression",l,1),p}r(ca,"tsNonNullExpression"),n(ca,"tsNonNullExpression");function da(l){const p={type:"TSExportAssignment",expression:l},c=d.TSExportAssignment;return a(c.expression,p,"expression",l,1),p}r(da,"tsExportAssignment"),n(da,"tsExportAssignment");function ya(l){const p={type:"TSNamespaceExportDeclaration",id:l},c=d.TSNamespaceExportDeclaration;return a(c.id,p,"id",l,1),p}r(ya,"tsNamespaceExportDeclaration"),n(ya,"tsNamespaceExportDeclaration");function fa(l){const p={type:"TSTypeAnnotation",typeAnnotation:l},c=d.TSTypeAnnotation;return a(c.typeAnnotation,p,"typeAnnotation",l,1),p}r(fa,"tsTypeAnnotation"),n(fa,"tsTypeAnnotation");function Ta(l){const p={type:"TSTypeParameterInstantiation",params:l},c=d.TSTypeParameterInstantiation;return a(c.params,p,"params",l,1),p}r(Ta,"tsTypeParameterInstantiation"),n(Ta,"tsTypeParameterInstantiation");function ma(l){const p={type:"TSTypeParameterDeclaration",params:l},c=d.TSTypeParameterDeclaration;return a(c.params,p,"params",l,1),p}r(ma,"tsTypeParameterDeclaration"),n(ma,"tsTypeParameterDeclaration");function Sa(l=null,p=null,c){const m={type:"TSTypeParameter",constraint:l,default:p,name:c},v=d.TSTypeParameter;return a(v.constraint,m,"constraint",l,1),a(v.default,m,"default",p,1),a(v.name,m,"name",c),m}r(Sa,"tsTypeParameter"),n(Sa,"tsTypeParameter");function Ea(l){return(0,o.default)("NumberLiteral","NumericLiteral","The node type "),ce(l)}r(Ea,"NumberLiteral"),n(Ea,"NumberLiteral");function ba(l,p=""){return(0,o.default)("RegexLiteral","RegExpLiteral","The node type "),V(l,p)}r(ba,"RegexLiteral"),n(ba,"RegexLiteral");function va(l){return(0,o.default)("RestProperty","RestElement","The node type "),pe(l)}r(va,"RestProperty"),n(va,"RestProperty");function Pa(l){return(0,o.default)("SpreadProperty","SpreadElement","The node type "),Je(l)}return r(Pa,"SpreadProperty"),n(Pa,"SpreadProperty"),S}r(Kl,"requireLowercase");var y={},ho;function Pp(){if(ho)return y;ho=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"t");Object.defineProperty(y,"__esModule",{value:!0}),y.JSXIdentifier=y.JSXFragment=y.JSXExpressionContainer=y.JSXEmptyExpression=y.JSXElement=y.JSXClosingFragment=y.JSXClosingElement=y.JSXAttribute=y.IntersectionTypeAnnotation=y.InterpreterDirective=y.InterfaceTypeAnnotation=y.InterfaceExtends=y.InterfaceDeclaration=y.InferredPredicate=y.IndexedAccessType=y.ImportSpecifier=y.ImportNamespaceSpecifier=y.ImportExpression=y.ImportDefaultSpecifier=y.ImportDeclaration=y.ImportAttribute=y.Import=y.IfStatement=y.Identifier=y.GenericTypeAnnotation=y.FunctionTypeParam=y.FunctionTypeAnnotation=y.FunctionExpression=y.FunctionDeclaration=y.ForStatement=y.ForOfStatement=y.ForInStatement=y.File=y.ExpressionStatement=y.ExportSpecifier=y.ExportNamespaceSpecifier=y.ExportNamedDeclaration=y.ExportDefaultSpecifier=y.ExportDefaultDeclaration=y.ExportAllDeclaration=y.ExistsTypeAnnotation=y.EnumSymbolBody=y.EnumStringMember=y.EnumStringBody=y.EnumNumberMember=y.EnumNumberBody=y.EnumDefaultedMember=y.EnumDeclaration=y.EnumBooleanMember=y.EnumBooleanBody=y.EmptyTypeAnnotation=y.EmptyStatement=y.DoWhileStatement=y.DoExpression=y.DirectiveLiteral=y.Directive=y.Decorator=y.DeclaredPredicate=y.DeclareVariable=y.DeclareTypeAlias=y.DeclareOpaqueType=y.DeclareModuleExports=y.DeclareModule=y.DeclareInterface=y.DeclareFunction=y.DeclareExportDeclaration=y.DeclareExportAllDeclaration=y.DeclareClass=y.DecimalLiteral=y.DebuggerStatement=y.ContinueStatement=y.ConditionalExpression=y.ClassProperty=y.ClassPrivateProperty=y.ClassPrivateMethod=y.ClassMethod=y.ClassImplements=y.ClassExpression=y.ClassDeclaration=y.ClassBody=y.ClassAccessorProperty=y.CatchClause=y.CallExpression=y.BreakStatement=y.BooleanTypeAnnotation=y.BooleanLiteralTypeAnnotation=y.BooleanLiteral=y.BlockStatement=y.BindExpression=y.BinaryExpression=y.BigIntLiteral=y.AwaitExpression=y.AssignmentPattern=y.AssignmentExpression=y.ArrowFunctionExpression=y.ArrayTypeAnnotation=y.ArrayPattern=y.ArrayExpression=y.ArgumentPlaceholder=y.AnyTypeAnnotation=void 0,y.TSNumberKeyword=y.TSNullKeyword=y.TSNonNullExpression=y.TSNeverKeyword=y.TSNamespaceExportDeclaration=y.TSNamedTupleMember=y.TSModuleDeclaration=y.TSModuleBlock=y.TSMethodSignature=y.TSMappedType=y.TSLiteralType=y.TSIntrinsicKeyword=y.TSIntersectionType=y.TSInterfaceDeclaration=y.TSInterfaceBody=y.TSInstantiationExpression=y.TSInferType=y.TSIndexedAccessType=y.TSIndexSignature=y.TSImportType=y.TSImportEqualsDeclaration=y.TSFunctionType=y.TSExternalModuleReference=y.TSExpressionWithTypeArguments=y.TSExportAssignment=y.TSEnumMember=y.TSEnumDeclaration=y.TSEnumBody=y.TSDeclareMethod=y.TSDeclareFunction=y.TSConstructorType=y.TSConstructSignatureDeclaration=y.TSConditionalType=y.TSCallSignatureDeclaration=y.TSBooleanKeyword=y.TSBigIntKeyword=y.TSAsExpression=y.TSArrayType=y.TSAnyKeyword=y.SymbolTypeAnnotation=y.SwitchStatement=y.SwitchCase=y.Super=y.StringTypeAnnotation=y.StringLiteralTypeAnnotation=y.StringLiteral=y.StaticBlock=y.SpreadProperty=y.SpreadElement=y.SequenceExpression=y.ReturnStatement=y.RestProperty=y.RestElement=y.RegexLiteral=y.RegExpLiteral=y.RecordExpression=y.QualifiedTypeIdentifier=y.Program=y.PrivateName=y.Placeholder=y.PipelineTopicExpression=y.PipelinePrimaryTopicReference=y.PipelineBareFunction=y.ParenthesizedExpression=y.OptionalMemberExpression=y.OptionalIndexedAccessType=y.OptionalCallExpression=y.OpaqueType=y.ObjectTypeSpreadProperty=y.ObjectTypeProperty=y.ObjectTypeInternalSlot=y.ObjectTypeIndexer=y.ObjectTypeCallProperty=y.ObjectTypeAnnotation=y.ObjectProperty=y.ObjectPattern=y.ObjectMethod=y.ObjectExpression=y.NumericLiteral=y.NumberTypeAnnotation=y.NumberLiteralTypeAnnotation=y.NumberLiteral=y.NullableTypeAnnotation=y.NullLiteralTypeAnnotation=y.NullLiteral=y.Noop=y.NewExpression=y.ModuleExpression=y.MixedTypeAnnotation=y.MetaProperty=y.MemberExpression=y.LogicalExpression=y.LabeledStatement=y.JSXText=y.JSXSpreadChild=y.JSXSpreadAttribute=y.JSXOpeningFragment=y.JSXOpeningElement=y.JSXNamespacedName=y.JSXMemberExpression=void 0,y.YieldExpression=y.WithStatement=y.WhileStatement=y.VoidTypeAnnotation=y.VoidPattern=y.Variance=y.VariableDeclarator=y.VariableDeclaration=y.V8IntrinsicIdentifier=y.UpdateExpression=y.UnionTypeAnnotation=y.UnaryExpression=y.TypeofTypeAnnotation=y.TypeParameterInstantiation=y.TypeParameterDeclaration=y.TypeParameter=y.TypeCastExpression=y.TypeAnnotation=y.TypeAlias=y.TupleTypeAnnotation=y.TupleExpression=y.TryStatement=y.TopicReference=y.ThrowStatement=y.ThisTypeAnnotation=y.ThisExpression=y.TemplateLiteral=y.TemplateElement=y.TaggedTemplateExpression=y.TSVoidKeyword=y.TSUnknownKeyword=y.TSUnionType=y.TSUndefinedKeyword=y.TSTypeReference=y.TSTypeQuery=y.TSTypePredicate=y.TSTypeParameterInstantiation=y.TSTypeParameterDeclaration=y.TSTypeParameter=y.TSTypeOperator=y.TSTypeLiteral=y.TSTypeAssertion=y.TSTypeAnnotation=y.TSTypeAliasDeclaration=y.TSTupleType=y.TSThisType=y.TSTemplateLiteralType=y.TSSymbolKeyword=y.TSStringKeyword=y.TSSatisfiesExpression=y.TSRestType=y.TSQualifiedName=y.TSPropertySignature=y.TSParenthesizedType=y.TSParameterProperty=y.TSOptionalType=y.TSObjectKeyword=void 0;var i=Kl();vi();function o(s){return i[s]}return r(o,"alias"),n(o,"alias"),y.ArrayExpression=o("arrayExpression"),y.AssignmentExpression=o("assignmentExpression"),y.BinaryExpression=o("binaryExpression"),y.InterpreterDirective=o("interpreterDirective"),y.Directive=o("directive"),y.DirectiveLiteral=o("directiveLiteral"),y.BlockStatement=o("blockStatement"),y.BreakStatement=o("breakStatement"),y.CallExpression=o("callExpression"),y.CatchClause=o("catchClause"),y.ConditionalExpression=o("conditionalExpression"),y.ContinueStatement=o("continueStatement"),y.DebuggerStatement=o("debuggerStatement"),y.DoWhileStatement=o("doWhileStatement"),y.EmptyStatement=o("emptyStatement"),y.ExpressionStatement=o("expressionStatement"),y.File=o("file"),y.ForInStatement=o("forInStatement"),y.ForStatement=o("forStatement"),y.FunctionDeclaration=o("functionDeclaration"),y.FunctionExpression=o("functionExpression"),y.Identifier=o("identifier"),y.IfStatement=o("ifStatement"),y.LabeledStatement=o("labeledStatement"),y.StringLiteral=o("stringLiteral"),y.NumericLiteral=o("numericLiteral"),y.NullLiteral=o("nullLiteral"),y.BooleanLiteral=o("booleanLiteral"),y.RegExpLiteral=o("regExpLiteral"),y.LogicalExpression=o("logicalExpression"),y.MemberExpression=o("memberExpression"),y.NewExpression=o("newExpression"),y.Program=o("program"),y.ObjectExpression=o("objectExpression"),y.ObjectMethod=o("objectMethod"),y.ObjectProperty=o("objectProperty"),y.RestElement=o("restElement"),y.ReturnStatement=o("returnStatement"),y.SequenceExpression=o("sequenceExpression"),y.ParenthesizedExpression=o("parenthesizedExpression"),y.SwitchCase=o("switchCase"),y.SwitchStatement=o("switchStatement"),y.ThisExpression=o("thisExpression"),y.ThrowStatement=o("throwStatement"),y.TryStatement=o("tryStatement"),y.UnaryExpression=o("unaryExpression"),y.UpdateExpression=o("updateExpression"),y.VariableDeclaration=o("variableDeclaration"),y.VariableDeclarator=o("variableDeclarator"),y.WhileStatement=o("whileStatement"),y.WithStatement=o("withStatement"),y.AssignmentPattern=o("assignmentPattern"),y.ArrayPattern=o("arrayPattern"),y.ArrowFunctionExpression=o("arrowFunctionExpression"),y.ClassBody=o("classBody"),y.ClassExpression=o("classExpression"),y.ClassDeclaration=o("classDeclaration"),y.ExportAllDeclaration=o("exportAllDeclaration"),y.ExportDefaultDeclaration=o("exportDefaultDeclaration"),y.ExportNamedDeclaration=o("exportNamedDeclaration"),y.ExportSpecifier=o("exportSpecifier"),y.ForOfStatement=o("forOfStatement"),y.ImportDeclaration=o("importDeclaration"),y.ImportDefaultSpecifier=o("importDefaultSpecifier"),y.ImportNamespaceSpecifier=o("importNamespaceSpecifier"),y.ImportSpecifier=o("importSpecifier"),y.ImportExpression=o("importExpression"),y.MetaProperty=o("metaProperty"),y.ClassMethod=o("classMethod"),y.ObjectPattern=o("objectPattern"),y.SpreadElement=o("spreadElement"),y.Super=o("super"),y.TaggedTemplateExpression=o("taggedTemplateExpression"),y.TemplateElement=o("templateElement"),y.TemplateLiteral=o("templateLiteral"),y.YieldExpression=o("yieldExpression"),y.AwaitExpression=o("awaitExpression"),y.Import=o("import"),y.BigIntLiteral=o("bigIntLiteral"),y.ExportNamespaceSpecifier=o("exportNamespaceSpecifier"),y.OptionalMemberExpression=o("optionalMemberExpression"),y.OptionalCallExpression=o("optionalCallExpression"),y.ClassProperty=o("classProperty"),y.ClassAccessorProperty=o("classAccessorProperty"),y.ClassPrivateProperty=o("classPrivateProperty"),y.ClassPrivateMethod=o("classPrivateMethod"),y.PrivateName=o("privateName"),y.StaticBlock=o("staticBlock"),y.ImportAttribute=o("importAttribute"),y.AnyTypeAnnotation=o("anyTypeAnnotation"),y.ArrayTypeAnnotation=o("arrayTypeAnnotation"),y.BooleanTypeAnnotation=o("booleanTypeAnnotation"),y.BooleanLiteralTypeAnnotation=o("booleanLiteralTypeAnnotation"),y.NullLiteralTypeAnnotation=o("nullLiteralTypeAnnotation"),y.ClassImplements=o("classImplements"),y.DeclareClass=o("declareClass"),y.DeclareFunction=o("declareFunction"),y.DeclareInterface=o("declareInterface"),y.DeclareModule=o("declareModule"),y.DeclareModuleExports=o("declareModuleExports"),y.DeclareTypeAlias=o("declareTypeAlias"),y.DeclareOpaqueType=o("declareOpaqueType"),y.DeclareVariable=o("declareVariable"),y.DeclareExportDeclaration=o("declareExportDeclaration"),y.DeclareExportAllDeclaration=o("declareExportAllDeclaration"),y.DeclaredPredicate=o("declaredPredicate"),y.ExistsTypeAnnotation=o("existsTypeAnnotation"),y.FunctionTypeAnnotation=o("functionTypeAnnotation"),y.FunctionTypeParam=o("functionTypeParam"),y.GenericTypeAnnotation=o("genericTypeAnnotation"),y.InferredPredicate=o("inferredPredicate"),y.InterfaceExtends=o("interfaceExtends"),y.InterfaceDeclaration=o("interfaceDeclaration"),y.InterfaceTypeAnnotation=o("interfaceTypeAnnotation"),y.IntersectionTypeAnnotation=o("intersectionTypeAnnotation"),y.MixedTypeAnnotation=o("mixedTypeAnnotation"),y.EmptyTypeAnnotation=o("emptyTypeAnnotation"),y.NullableTypeAnnotation=o("nullableTypeAnnotation"),y.NumberLiteralTypeAnnotation=o("numberLiteralTypeAnnotation"),y.NumberTypeAnnotation=o("numberTypeAnnotation"),y.ObjectTypeAnnotation=o("objectTypeAnnotation"),y.ObjectTypeInternalSlot=o("objectTypeInternalSlot"),y.ObjectTypeCallProperty=o("objectTypeCallProperty"),y.ObjectTypeIndexer=o("objectTypeIndexer"),y.ObjectTypeProperty=o("objectTypeProperty"),y.ObjectTypeSpreadProperty=o("objectTypeSpreadProperty"),y.OpaqueType=o("opaqueType"),y.QualifiedTypeIdentifier=o("qualifiedTypeIdentifier"),y.StringLiteralTypeAnnotation=o("stringLiteralTypeAnnotation"),y.StringTypeAnnotation=o("stringTypeAnnotation"),y.SymbolTypeAnnotation=o("symbolTypeAnnotation"),y.ThisTypeAnnotation=o("thisTypeAnnotation"),y.TupleTypeAnnotation=o("tupleTypeAnnotation"),y.TypeofTypeAnnotation=o("typeofTypeAnnotation"),y.TypeAlias=o("typeAlias"),y.TypeAnnotation=o("typeAnnotation"),y.TypeCastExpression=o("typeCastExpression"),y.TypeParameter=o("typeParameter"),y.TypeParameterDeclaration=o("typeParameterDeclaration"),y.TypeParameterInstantiation=o("typeParameterInstantiation"),y.UnionTypeAnnotation=o("unionTypeAnnotation"),y.Variance=o("variance"),y.VoidTypeAnnotation=o("voidTypeAnnotation"),y.EnumDeclaration=o("enumDeclaration"),y.EnumBooleanBody=o("enumBooleanBody"),y.EnumNumberBody=o("enumNumberBody"),y.EnumStringBody=o("enumStringBody"),y.EnumSymbolBody=o("enumSymbolBody"),y.EnumBooleanMember=o("enumBooleanMember"),y.EnumNumberMember=o("enumNumberMember"),y.EnumStringMember=o("enumStringMember"),y.EnumDefaultedMember=o("enumDefaultedMember"),y.IndexedAccessType=o("indexedAccessType"),y.OptionalIndexedAccessType=o("optionalIndexedAccessType"),y.JSXAttribute=o("jsxAttribute"),y.JSXClosingElement=o("jsxClosingElement"),y.JSXElement=o("jsxElement"),y.JSXEmptyExpression=o("jsxEmptyExpression"),y.JSXExpressionContainer=o("jsxExpressionContainer"),y.JSXSpreadChild=o("jsxSpreadChild"),y.JSXIdentifier=o("jsxIdentifier"),y.JSXMemberExpression=o("jsxMemberExpression"),y.JSXNamespacedName=o("jsxNamespacedName"),y.JSXOpeningElement=o("jsxOpeningElement"),y.JSXSpreadAttribute=o("jsxSpreadAttribute"),y.JSXText=o("jsxText"),y.JSXFragment=o("jsxFragment"),y.JSXOpeningFragment=o("jsxOpeningFragment"),y.JSXClosingFragment=o("jsxClosingFragment"),y.Noop=o("noop"),y.Placeholder=o("placeholder"),y.V8IntrinsicIdentifier=o("v8IntrinsicIdentifier"),y.ArgumentPlaceholder=o("argumentPlaceholder"),y.BindExpression=o("bindExpression"),y.Decorator=o("decorator"),y.DoExpression=o("doExpression"),y.ExportDefaultSpecifier=o("exportDefaultSpecifier"),y.RecordExpression=o("recordExpression"),y.TupleExpression=o("tupleExpression"),y.DecimalLiteral=o("decimalLiteral"),y.ModuleExpression=o("moduleExpression"),y.TopicReference=o("topicReference"),y.PipelineTopicExpression=o("pipelineTopicExpression"),y.PipelineBareFunction=o("pipelineBareFunction"),y.PipelinePrimaryTopicReference=o("pipelinePrimaryTopicReference"),y.VoidPattern=o("voidPattern"),y.TSParameterProperty=o("tsParameterProperty"),y.TSDeclareFunction=o("tsDeclareFunction"),y.TSDeclareMethod=o("tsDeclareMethod"),y.TSQualifiedName=o("tsQualifiedName"),y.TSCallSignatureDeclaration=o("tsCallSignatureDeclaration"),y.TSConstructSignatureDeclaration=o("tsConstructSignatureDeclaration"),y.TSPropertySignature=o("tsPropertySignature"),y.TSMethodSignature=o("tsMethodSignature"),y.TSIndexSignature=o("tsIndexSignature"),y.TSAnyKeyword=o("tsAnyKeyword"),y.TSBooleanKeyword=o("tsBooleanKeyword"),y.TSBigIntKeyword=o("tsBigIntKeyword"),y.TSIntrinsicKeyword=o("tsIntrinsicKeyword"),y.TSNeverKeyword=o("tsNeverKeyword"),y.TSNullKeyword=o("tsNullKeyword"),y.TSNumberKeyword=o("tsNumberKeyword"),y.TSObjectKeyword=o("tsObjectKeyword"),y.TSStringKeyword=o("tsStringKeyword"),y.TSSymbolKeyword=o("tsSymbolKeyword"),y.TSUndefinedKeyword=o("tsUndefinedKeyword"),y.TSUnknownKeyword=o("tsUnknownKeyword"),y.TSVoidKeyword=o("tsVoidKeyword"),y.TSThisType=o("tsThisType"),y.TSFunctionType=o("tsFunctionType"),y.TSConstructorType=o("tsConstructorType"),y.TSTypeReference=o("tsTypeReference"),y.TSTypePredicate=o("tsTypePredicate"),y.TSTypeQuery=o("tsTypeQuery"),y.TSTypeLiteral=o("tsTypeLiteral"),y.TSArrayType=o("tsArrayType"),y.TSTupleType=o("tsTupleType"),y.TSOptionalType=o("tsOptionalType"),y.TSRestType=o("tsRestType"),y.TSNamedTupleMember=o("tsNamedTupleMember"),y.TSUnionType=o("tsUnionType"),y.TSIntersectionType=o("tsIntersectionType"),y.TSConditionalType=o("tsConditionalType"),y.TSInferType=o("tsInferType"),y.TSParenthesizedType=o("tsParenthesizedType"),y.TSTypeOperator=o("tsTypeOperator"),y.TSIndexedAccessType=o("tsIndexedAccessType"),y.TSMappedType=o("tsMappedType"),y.TSTemplateLiteralType=o("tsTemplateLiteralType"),y.TSLiteralType=o("tsLiteralType"),y.TSExpressionWithTypeArguments=o("tsExpressionWithTypeArguments"),y.TSInterfaceDeclaration=o("tsInterfaceDeclaration"),y.TSInterfaceBody=o("tsInterfaceBody"),y.TSTypeAliasDeclaration=o("tsTypeAliasDeclaration"),y.TSInstantiationExpression=o("tsInstantiationExpression"),y.TSAsExpression=o("tsAsExpression"),y.TSSatisfiesExpression=o("tsSatisfiesExpression"),y.TSTypeAssertion=o("tsTypeAssertion"),y.TSEnumBody=o("tsEnumBody"),y.TSEnumDeclaration=o("tsEnumDeclaration"),y.TSEnumMember=o("tsEnumMember"),y.TSModuleDeclaration=o("tsModuleDeclaration"),y.TSModuleBlock=o("tsModuleBlock"),y.TSImportType=o("tsImportType"),y.TSImportEqualsDeclaration=o("tsImportEqualsDeclaration"),y.TSExternalModuleReference=o("tsExternalModuleReference"),y.TSNonNullExpression=o("tsNonNullExpression"),y.TSExportAssignment=o("tsExportAssignment"),y.TSNamespaceExportDeclaration=o("tsNamespaceExportDeclaration"),y.TSTypeAnnotation=o("tsTypeAnnotation"),y.TSTypeParameterInstantiation=o("tsTypeParameterInstantiation"),y.TSTypeParameterDeclaration=o("tsTypeParameterDeclaration"),y.TSTypeParameter=o("tsTypeParameter"),y.NumberLiteral=i.numberLiteral,y.RegexLiteral=i.regexLiteral,y.RestProperty=i.restProperty,y.SpreadProperty=i.spreadProperty,y}r(Pp,"requireUppercase");var No;function me(){return No||(No=1,(function(T){var n=Object.defineProperty,i=r((a,d)=>n(a,"name",{value:d,configurable:!0}),"r");Object.defineProperty(T,"__esModule",{value:!0});var o=Kl();Object.keys(o).forEach(function(a){a==="default"||a==="__esModule"||a in T&&T[a]===o[a]||Object.defineProperty(T,a,{enumerable:!0,get:i(function(){return o[a]},"get")})});var s=Pp();Object.keys(s).forEach(function(a){a==="default"||a==="__esModule"||a in T&&T[a]===s[a]||Object.defineProperty(T,a,{enumerable:!0,get:i(function(){return s[a]},"get")})})})(Ms)),Ms}r(me,"requireGenerated$2");var Lo;function Ap(){if(Lo)return Li;Lo=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"a");Object.defineProperty(Li,"__esModule",{value:!0}),Li.default=s;var i=me(),o=Xs();function s(a,d){const f=a.value.split(/\r\n|\n|\r/);let x=0;for(let g=0;g<f.length;g++)/[^ \t]/.exec(f[g])&&(x=g);let P="";for(let g=0;g<f.length;g++){const I=f[g],A=g===0,D=g===f.length-1,C=g===x;let h=I.replace(/\t/g," ");A||(h=h.replace(/^ +/,"")),D||(h=h.replace(/ +$/,"")),h&&(C||(h+=" "),P+=h)}P&&d.push((0,o.inherits)((0,i.stringLiteral)(P),a))}return r(s,"cleanJSXElementLiteralChild$1"),n(s,"cleanJSXElementLiteralChild"),Li}r(Ap,"requireCleanJSXElementLiteralChild");var Co;function xp(){if(Co)return Ni;Co=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"n");Object.defineProperty(Ni,"__esModule",{value:!0}),Ni.default=s;var i=ie(),o=Ap();function s(a){const d=[];for(let f=0;f<a.children.length;f++){let x=a.children[f];if((0,i.isJSXText)(x)){(0,o.default)(x,d);continue}(0,i.isJSXExpressionContainer)(x)&&(x=x.expression),!(0,i.isJSXEmptyExpression)(x)&&d.push(x)}return d}return r(s,"buildChildren$1"),n(s,"buildChildren"),Ni}r(xp,"requireBuildChildren");var ji={},wi={},_o;function ql(){if(_o)return wi;_o=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"t");Object.defineProperty(wi,"__esModule",{value:!0}),wi.default=o;var i=Ee();function o(s){return!!(s&&i.VISITOR_KEYS[s.type])}return r(o,"isNode$1"),n(o,"isNode"),wi}r(ql,"requireIsNode");var Bo;function gp(){if(Bo)return ji;Bo=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"r");Object.defineProperty(ji,"__esModule",{value:!0}),ji.default=o;var i=ql();function o(s){if(!(0,i.default)(s)){var a;const d=(a=s?.type)!=null?a:JSON.stringify(s);throw new TypeError(`Not a valid node of type "${d}"`)}}return r(o,"assertNode$1"),n(o,"assertNode"),ji}r(gp,"requireAssertNode");var b={},Mo;function Ip(){if(Mo)return b;Mo=1;var T=Object.defineProperty,n=r((e,u)=>T(e,"name",{value:u,configurable:!0}),"s");Object.defineProperty(b,"__esModule",{value:!0}),b.assertAccessor=Ga,b.assertAnyTypeAnnotation=yt,b.assertArgumentPlaceholder=Vr,b.assertArrayExpression=a,b.assertArrayPattern=Le,b.assertArrayTypeAnnotation=ft,b.assertArrowFunctionExpression=Ce,b.assertAssignmentExpression=d,b.assertAssignmentPattern=Ne,b.assertAwaitExpression=et,b.assertBigIntLiteral=rt,b.assertBinary=Ea,b.assertBinaryExpression=f,b.assertBindExpression=Xr,b.assertBlock=Pa,b.assertBlockParent=va,b.assertBlockStatement=I,b.assertBooleanLiteral=fe,b.assertBooleanLiteralTypeAnnotation=mt,b.assertBooleanTypeAnnotation=Tt,b.assertBreakStatement=A,b.assertCallExpression=D,b.assertCatchClause=C,b.assertClass=Oa,b.assertClassAccessorProperty=ot,b.assertClassBody=_e,b.assertClassDeclaration=Me,b.assertClassExpression=Be,b.assertClassImplements=Et,b.assertClassMethod=Ye,b.assertClassPrivateMethod=pt,b.assertClassPrivateProperty=lt,b.assertClassProperty=st,b.assertCompletionStatement=c,b.assertConditional=m,b.assertConditionalExpression=h,b.assertContinueStatement=K,b.assertDebuggerStatement=N,b.assertDecimalLiteral=zr,b.assertDeclaration=_a,b.assertDeclareClass=bt,b.assertDeclareExportAllDeclaration=ht,b.assertDeclareExportDeclaration=Dt,b.assertDeclareFunction=vt,b.assertDeclareInterface=Pt,b.assertDeclareModule=At,b.assertDeclareModuleExports=xt,b.assertDeclareOpaqueType=It,b.assertDeclareTypeAlias=gt,b.assertDeclareVariable=Ot,b.assertDeclaredPredicate=Nt,b.assertDecorator=Yr,b.assertDirective=P,b.assertDirectiveLiteral=g,b.assertDoExpression=Jr,b.assertDoWhileStatement=M,b.assertEmptyStatement=_,b.assertEmptyTypeAnnotation=Kt,b.assertEnumBody=ti,b.assertEnumBooleanBody=fr,b.assertEnumBooleanMember=Er,b.assertEnumDeclaration=yr,b.assertEnumDefaultedMember=Pr,b.assertEnumMember=ri,b.assertEnumNumberBody=Tr,b.assertEnumNumberMember=br,b.assertEnumStringBody=mr,b.assertEnumStringMember=vr,b.assertEnumSymbolBody=Sr,b.assertExistsTypeAnnotation=Lt,b.assertExportAllDeclaration=je,b.assertExportDeclaration=Ua,b.assertExportDefaultDeclaration=we,b.assertExportDefaultSpecifier=Ur,b.assertExportNamedDeclaration=Fe,b.assertExportNamespaceSpecifier=nt,b.assertExportSpecifier=Re,b.assertExpression=Sa,b.assertExpressionStatement=B,b.assertExpressionWrapper=R,b.assertFile=F,b.assertFlow=Qa,b.assertFlowBaseAnnotation=Ha,b.assertFlowDeclaration=Za,b.assertFlowPredicate=ei,b.assertFlowType=$a,b.assertFor=z,b.assertForInStatement=Y,b.assertForOfStatement=ke,b.assertForStatement=H,b.assertForXStatement=ne,b.assertFunction=ye,b.assertFunctionDeclaration=Z,b.assertFunctionExpression=ee,b.assertFunctionParameter=Ba,b.assertFunctionParent=La,b.assertFunctionTypeAnnotation=Ct,b.assertFunctionTypeParam=_t,b.assertGenericTypeAnnotation=Bt,b.assertIdentifier=te,b.assertIfStatement=ue,b.assertImmutable=Ra,b.assertImport=tt,b.assertImportAttribute=dt,b.assertImportDeclaration=Ke,b.assertImportDefaultSpecifier=qe,b.assertImportExpression=Xe,b.assertImportNamespaceSpecifier=Se,b.assertImportOrExportDeclaration=Ja,b.assertImportSpecifier=Ve,b.assertIndexedAccessType=Ar,b.assertInferredPredicate=Mt,b.assertInterfaceDeclaration=wt,b.assertInterfaceExtends=jt,b.assertInterfaceTypeAnnotation=Ft,b.assertInterpreterDirective=x,b.assertIntersectionTypeAnnotation=Rt,b.assertJSX=ni,b.assertJSXAttribute=gr,b.assertJSXClosingElement=Ir,b.assertJSXClosingFragment=Rr,b.assertJSXElement=Or,b.assertJSXEmptyExpression=Dr,b.assertJSXExpressionContainer=hr,b.assertJSXFragment=wr,b.assertJSXIdentifier=Lr,b.assertJSXMemberExpression=Cr,b.assertJSXNamespacedName=_r,b.assertJSXOpeningElement=Br,b.assertJSXOpeningFragment=Fr,b.assertJSXSpreadAttribute=Mr,b.assertJSXSpreadChild=Nr,b.assertJSXText=jr,b.assertLVal=ja,b.assertLabeledStatement=ae,b.assertLiteral=Fa,b.assertLogicalExpression=w,b.assertLoop=v,b.assertMemberExpression=k,b.assertMetaProperty=j,b.assertMethod=Ka,b.assertMiscellaneous=ai,b.assertMixedTypeAnnotation=kt,b.assertModuleDeclaration=t,b.assertModuleExpression=Qr,b.assertModuleSpecifier=Wa,b.assertNewExpression=V,b.assertNoop=kr,b.assertNullLiteral=oe,b.assertNullLiteralTypeAnnotation=St,b.assertNullableTypeAnnotation=qt,b.assertNumberLiteral=pi,b.assertNumberLiteralTypeAnnotation=Vt,b.assertNumberTypeAnnotation=Xt,b.assertNumericLiteral=de,b.assertObjectExpression=J,b.assertObjectMember=qa,b.assertObjectMethod=$,b.assertObjectPattern=Ge,b.assertObjectProperty=G,b.assertObjectTypeAnnotation=Yt,b.assertObjectTypeCallProperty=Ut,b.assertObjectTypeIndexer=Wt,b.assertObjectTypeInternalSlot=Jt,b.assertObjectTypeProperty=Gt,b.assertObjectTypeSpreadProperty=zt,b.assertOpaqueType=Qt,b.assertOptionalCallExpression=it,b.assertOptionalIndexedAccessType=xr,b.assertOptionalMemberExpression=at,b.assertParenthesizedExpression=pe,b.assertPattern=Ya,b.assertPatternLike=Ma,b.assertPipelineBareFunction=Zr,b.assertPipelinePrimaryTopicReference=en,b.assertPipelineTopicExpression=Hr,b.assertPlaceholder=Kr,b.assertPrivate=za,b.assertPrivateName=ut,b.assertProgram=q,b.assertProperty=Va,b.assertPureish=Ca,b.assertQualifiedTypeIdentifier=$t,b.assertRecordExpression=Wr,b.assertRegExpLiteral=ce,b.assertRegexLiteral=ui,b.assertRestElement=W,b.assertRestProperty=ci,b.assertReturnStatement=Q,b.assertScopable=ba,b.assertSequenceExpression=le,b.assertSpreadElement=ze,b.assertSpreadProperty=di,b.assertStandardized=ma,b.assertStatement=l,b.assertStaticBlock=ct,b.assertStringLiteral=re,b.assertStringLiteralTypeAnnotation=Ht,b.assertStringTypeAnnotation=Zt,b.assertSuper=Qe,b.assertSwitchCase=be,b.assertSwitchStatement=ve,b.assertSymbolTypeAnnotation=er,b.assertTSAnyKeyword=dn,b.assertTSArrayType=_n,b.assertTSAsExpression=Hn,b.assertTSBaseType=li,b.assertTSBigIntKeyword=fn,b.assertTSBooleanKeyword=yn,b.assertTSCallSignatureDeclaration=on,b.assertTSConditionalType=kn,b.assertTSConstructSignatureDeclaration=ln,b.assertTSConstructorType=Dn,b.assertTSDeclareFunction=nn,b.assertTSDeclareMethod=an,b.assertTSEntityName=wa,b.assertTSEnumBody=ta,b.assertTSEnumDeclaration=ra,b.assertTSEnumMember=na,b.assertTSExportAssignment=ua,b.assertTSExpressionWithTypeArguments=Wn,b.assertTSExternalModuleReference=la,b.assertTSFunctionType=On,b.assertTSImportEqualsDeclaration=oa,b.assertTSImportType=sa,b.assertTSIndexSignature=cn,b.assertTSIndexedAccessType=Xn,b.assertTSInferType=Kn,b.assertTSInstantiationExpression=$n,b.assertTSInterfaceBody=zn,b.assertTSInterfaceDeclaration=Gn,b.assertTSIntersectionType=Rn,b.assertTSIntrinsicKeyword=Tn,b.assertTSLiteralType=Un,b.assertTSMappedType=Yn,b.assertTSMethodSignature=un,b.assertTSModuleBlock=ia,b.assertTSModuleDeclaration=aa,b.assertTSNamedTupleMember=wn,b.assertTSNamespaceExportDeclaration=ca,b.assertTSNeverKeyword=mn,b.assertTSNonNullExpression=pa,b.assertTSNullKeyword=Sn,b.assertTSNumberKeyword=En,b.assertTSObjectKeyword=bn,b.assertTSOptionalType=Mn,b.assertTSParameterProperty=rn,b.assertTSParenthesizedType=qn,b.assertTSPropertySignature=pn,b.assertTSQualifiedName=sn,b.assertTSRestType=jn,b.assertTSSatisfiesExpression=Zn,b.assertTSStringKeyword=vn,b.assertTSSymbolKeyword=Pn,b.assertTSTemplateLiteralType=Jn,b.assertTSThisType=In,b.assertTSTupleType=Bn,b.assertTSType=oi,b.assertTSTypeAliasDeclaration=Qn,b.assertTSTypeAnnotation=da,b.assertTSTypeAssertion=ea,b.assertTSTypeElement=si,b.assertTSTypeLiteral=Cn,b.assertTSTypeOperator=Vn,b.assertTSTypeParameter=Ta,b.assertTSTypeParameterDeclaration=fa,b.assertTSTypeParameterInstantiation=ya,b.assertTSTypePredicate=Nn,b.assertTSTypeQuery=Ln,b.assertTSTypeReference=hn,b.assertTSUndefinedKeyword=An,b.assertTSUnionType=Fn,b.assertTSUnknownKeyword=xn,b.assertTSVoidKeyword=gn,b.assertTaggedTemplateExpression=$e,b.assertTemplateElement=Je,b.assertTemplateLiteral=He,b.assertTerminatorless=p,b.assertThisExpression=Pe,b.assertThisTypeAnnotation=tr,b.assertThrowStatement=Te,b.assertTopicReference=$r,b.assertTryStatement=Ae,b.assertTupleExpression=Gr,b.assertTupleTypeAnnotation=rr,b.assertTypeAlias=ar,b.assertTypeAnnotation=ir,b.assertTypeCastExpression=sr,b.assertTypeParameter=or,b.assertTypeParameterDeclaration=lr,b.assertTypeParameterInstantiation=pr,b.assertTypeScript=ii,b.assertTypeofTypeAnnotation=nr,b.assertUnaryExpression=xe,b.assertUnaryLike=Xa,b.assertUnionTypeAnnotation=ur,b.assertUpdateExpression=ge,b.assertUserWhitespacable=ka,b.assertV8IntrinsicIdentifier=qr,b.assertVariableDeclaration=Ie,b.assertVariableDeclarator=Oe,b.assertVariance=cr,b.assertVoidPattern=tn,b.assertVoidTypeAnnotation=dr,b.assertWhile=O,b.assertWhileStatement=De,b.assertWithStatement=he,b.assertYieldExpression=Ze;var i=Pi(),o=vi();function s(e,u,Js){if(!(0,i.default)(e,u,Js))throw new Error(`Expected type "${e}" with option ${JSON.stringify(Js)}, but instead got "${u.type}".`)}r(s,"assert"),n(s,"assert");function a(e,u){s("ArrayExpression",e,u)}r(a,"assertArrayExpression"),n(a,"assertArrayExpression");function d(e,u){s("AssignmentExpression",e,u)}r(d,"assertAssignmentExpression"),n(d,"assertAssignmentExpression");function f(e,u){s("BinaryExpression",e,u)}r(f,"assertBinaryExpression"),n(f,"assertBinaryExpression");function x(e,u){s("InterpreterDirective",e,u)}r(x,"assertInterpreterDirective"),n(x,"assertInterpreterDirective");function P(e,u){s("Directive",e,u)}r(P,"assertDirective"),n(P,"assertDirective");function g(e,u){s("DirectiveLiteral",e,u)}r(g,"assertDirectiveLiteral"),n(g,"assertDirectiveLiteral");function I(e,u){s("BlockStatement",e,u)}r(I,"assertBlockStatement"),n(I,"assertBlockStatement");function A(e,u){s("BreakStatement",e,u)}r(A,"assertBreakStatement"),n(A,"assertBreakStatement");function D(e,u){s("CallExpression",e,u)}r(D,"assertCallExpression"),n(D,"assertCallExpression");function C(e,u){s("CatchClause",e,u)}r(C,"assertCatchClause"),n(C,"assertCatchClause");function h(e,u){s("ConditionalExpression",e,u)}r(h,"assertConditionalExpression"),n(h,"assertConditionalExpression");function K(e,u){s("ContinueStatement",e,u)}r(K,"assertContinueStatement"),n(K,"assertContinueStatement");function N(e,u){s("DebuggerStatement",e,u)}r(N,"assertDebuggerStatement"),n(N,"assertDebuggerStatement");function M(e,u){s("DoWhileStatement",e,u)}r(M,"assertDoWhileStatement"),n(M,"assertDoWhileStatement");function _(e,u){s("EmptyStatement",e,u)}r(_,"assertEmptyStatement"),n(_,"assertEmptyStatement");function B(e,u){s("ExpressionStatement",e,u)}r(B,"assertExpressionStatement"),n(B,"assertExpressionStatement");function F(e,u){s("File",e,u)}r(F,"assertFile"),n(F,"assertFile");function Y(e,u){s("ForInStatement",e,u)}r(Y,"assertForInStatement"),n(Y,"assertForInStatement");function H(e,u){s("ForStatement",e,u)}r(H,"assertForStatement"),n(H,"assertForStatement");function Z(e,u){s("FunctionDeclaration",e,u)}r(Z,"assertFunctionDeclaration"),n(Z,"assertFunctionDeclaration");function ee(e,u){s("FunctionExpression",e,u)}r(ee,"assertFunctionExpression"),n(ee,"assertFunctionExpression");function te(e,u){s("Identifier",e,u)}r(te,"assertIdentifier"),n(te,"assertIdentifier");function ue(e,u){s("IfStatement",e,u)}r(ue,"assertIfStatement"),n(ue,"assertIfStatement");function ae(e,u){s("LabeledStatement",e,u)}r(ae,"assertLabeledStatement"),n(ae,"assertLabeledStatement");function re(e,u){s("StringLiteral",e,u)}r(re,"assertStringLiteral"),n(re,"assertStringLiteral");function de(e,u){s("NumericLiteral",e,u)}r(de,"assertNumericLiteral"),n(de,"assertNumericLiteral");function oe(e,u){s("NullLiteral",e,u)}r(oe,"assertNullLiteral"),n(oe,"assertNullLiteral");function fe(e,u){s("BooleanLiteral",e,u)}r(fe,"assertBooleanLiteral"),n(fe,"assertBooleanLiteral");function ce(e,u){s("RegExpLiteral",e,u)}r(ce,"assertRegExpLiteral"),n(ce,"assertRegExpLiteral");function w(e,u){s("LogicalExpression",e,u)}r(w,"assertLogicalExpression"),n(w,"assertLogicalExpression");function k(e,u){s("MemberExpression",e,u)}r(k,"assertMemberExpression"),n(k,"assertMemberExpression");function V(e,u){s("NewExpression",e,u)}r(V,"assertNewExpression"),n(V,"assertNewExpression");function q(e,u){s("Program",e,u)}r(q,"assertProgram"),n(q,"assertProgram");function J(e,u){s("ObjectExpression",e,u)}r(J,"assertObjectExpression"),n(J,"assertObjectExpression");function $(e,u){s("ObjectMethod",e,u)}r($,"assertObjectMethod"),n($,"assertObjectMethod");function G(e,u){s("ObjectProperty",e,u)}r(G,"assertObjectProperty"),n(G,"assertObjectProperty");function W(e,u){s("RestElement",e,u)}r(W,"assertRestElement"),n(W,"assertRestElement");function Q(e,u){s("ReturnStatement",e,u)}r(Q,"assertReturnStatement"),n(Q,"assertReturnStatement");function le(e,u){s("SequenceExpression",e,u)}r(le,"assertSequenceExpression"),n(le,"assertSequenceExpression");function pe(e,u){s("ParenthesizedExpression",e,u)}r(pe,"assertParenthesizedExpression"),n(pe,"assertParenthesizedExpression");function be(e,u){s("SwitchCase",e,u)}r(be,"assertSwitchCase"),n(be,"assertSwitchCase");function ve(e,u){s("SwitchStatement",e,u)}r(ve,"assertSwitchStatement"),n(ve,"assertSwitchStatement");function Pe(e,u){s("ThisExpression",e,u)}r(Pe,"assertThisExpression"),n(Pe,"assertThisExpression");function Te(e,u){s("ThrowStatement",e,u)}r(Te,"assertThrowStatement"),n(Te,"assertThrowStatement");function Ae(e,u){s("TryStatement",e,u)}r(Ae,"assertTryStatement"),n(Ae,"assertTryStatement");function xe(e,u){s("UnaryExpression",e,u)}r(xe,"assertUnaryExpression"),n(xe,"assertUnaryExpression");function ge(e,u){s("UpdateExpression",e,u)}r(ge,"assertUpdateExpression"),n(ge,"assertUpdateExpression");function Ie(e,u){s("VariableDeclaration",e,u)}r(Ie,"assertVariableDeclaration"),n(Ie,"assertVariableDeclaration");function Oe(e,u){s("VariableDeclarator",e,u)}r(Oe,"assertVariableDeclarator"),n(Oe,"assertVariableDeclarator");function De(e,u){s("WhileStatement",e,u)}r(De,"assertWhileStatement"),n(De,"assertWhileStatement");function he(e,u){s("WithStatement",e,u)}r(he,"assertWithStatement"),n(he,"assertWithStatement");function Ne(e,u){s("AssignmentPattern",e,u)}r(Ne,"assertAssignmentPattern"),n(Ne,"assertAssignmentPattern");function Le(e,u){s("ArrayPattern",e,u)}r(Le,"assertArrayPattern"),n(Le,"assertArrayPattern");function Ce(e,u){s("ArrowFunctionExpression",e,u)}r(Ce,"assertArrowFunctionExpression"),n(Ce,"assertArrowFunctionExpression");function _e(e,u){s("ClassBody",e,u)}r(_e,"assertClassBody"),n(_e,"assertClassBody");function Be(e,u){s("ClassExpression",e,u)}r(Be,"assertClassExpression"),n(Be,"assertClassExpression");function Me(e,u){s("ClassDeclaration",e,u)}r(Me,"assertClassDeclaration"),n(Me,"assertClassDeclaration");function je(e,u){s("ExportAllDeclaration",e,u)}r(je,"assertExportAllDeclaration"),n(je,"assertExportAllDeclaration");function we(e,u){s("ExportDefaultDeclaration",e,u)}r(we,"assertExportDefaultDeclaration"),n(we,"assertExportDefaultDeclaration");function Fe(e,u){s("ExportNamedDeclaration",e,u)}r(Fe,"assertExportNamedDeclaration"),n(Fe,"assertExportNamedDeclaration");function Re(e,u){s("ExportSpecifier",e,u)}r(Re,"assertExportSpecifier"),n(Re,"assertExportSpecifier");function ke(e,u){s("ForOfStatement",e,u)}r(ke,"assertForOfStatement"),n(ke,"assertForOfStatement");function Ke(e,u){s("ImportDeclaration",e,u)}r(Ke,"assertImportDeclaration"),n(Ke,"assertImportDeclaration");function qe(e,u){s("ImportDefaultSpecifier",e,u)}r(qe,"assertImportDefaultSpecifier"),n(qe,"assertImportDefaultSpecifier");function Se(e,u){s("ImportNamespaceSpecifier",e,u)}r(Se,"assertImportNamespaceSpecifier"),n(Se,"assertImportNamespaceSpecifier");function Ve(e,u){s("ImportSpecifier",e,u)}r(Ve,"assertImportSpecifier"),n(Ve,"assertImportSpecifier");function Xe(e,u){s("ImportExpression",e,u)}r(Xe,"assertImportExpression"),n(Xe,"assertImportExpression");function j(e,u){s("MetaProperty",e,u)}r(j,"assertMetaProperty"),n(j,"assertMetaProperty");function Ye(e,u){s("ClassMethod",e,u)}r(Ye,"assertClassMethod"),n(Ye,"assertClassMethod");function Ge(e,u){s("ObjectPattern",e,u)}r(Ge,"assertObjectPattern"),n(Ge,"assertObjectPattern");function ze(e,u){s("SpreadElement",e,u)}r(ze,"assertSpreadElement"),n(ze,"assertSpreadElement");function Qe(e,u){s("Super",e,u)}r(Qe,"assertSuper"),n(Qe,"assertSuper");function $e(e,u){s("TaggedTemplateExpression",e,u)}r($e,"assertTaggedTemplateExpression"),n($e,"assertTaggedTemplateExpression");function Je(e,u){s("TemplateElement",e,u)}r(Je,"assertTemplateElement"),n(Je,"assertTemplateElement");function He(e,u){s("TemplateLiteral",e,u)}r(He,"assertTemplateLiteral"),n(He,"assertTemplateLiteral");function Ze(e,u){s("YieldExpression",e,u)}r(Ze,"assertYieldExpression"),n(Ze,"assertYieldExpression");function et(e,u){s("AwaitExpression",e,u)}r(et,"assertAwaitExpression"),n(et,"assertAwaitExpression");function tt(e,u){s("Import",e,u)}r(tt,"assertImport"),n(tt,"assertImport");function rt(e,u){s("BigIntLiteral",e,u)}r(rt,"assertBigIntLiteral"),n(rt,"assertBigIntLiteral");function nt(e,u){s("ExportNamespaceSpecifier",e,u)}r(nt,"assertExportNamespaceSpecifier"),n(nt,"assertExportNamespaceSpecifier");function at(e,u){s("OptionalMemberExpression",e,u)}r(at,"assertOptionalMemberExpression"),n(at,"assertOptionalMemberExpression");function it(e,u){s("OptionalCallExpression",e,u)}r(it,"assertOptionalCallExpression"),n(it,"assertOptionalCallExpression");function st(e,u){s("ClassProperty",e,u)}r(st,"assertClassProperty"),n(st,"assertClassProperty");function ot(e,u){s("ClassAccessorProperty",e,u)}r(ot,"assertClassAccessorProperty"),n(ot,"assertClassAccessorProperty");function lt(e,u){s("ClassPrivateProperty",e,u)}r(lt,"assertClassPrivateProperty"),n(lt,"assertClassPrivateProperty");function pt(e,u){s("ClassPrivateMethod",e,u)}r(pt,"assertClassPrivateMethod"),n(pt,"assertClassPrivateMethod");function ut(e,u){s("PrivateName",e,u)}r(ut,"assertPrivateName"),n(ut,"assertPrivateName");function ct(e,u){s("StaticBlock",e,u)}r(ct,"assertStaticBlock"),n(ct,"assertStaticBlock");function dt(e,u){s("ImportAttribute",e,u)}r(dt,"assertImportAttribute"),n(dt,"assertImportAttribute");function yt(e,u){s("AnyTypeAnnotation",e,u)}r(yt,"assertAnyTypeAnnotation"),n(yt,"assertAnyTypeAnnotation");function ft(e,u){s("ArrayTypeAnnotation",e,u)}r(ft,"assertArrayTypeAnnotation"),n(ft,"assertArrayTypeAnnotation");function Tt(e,u){s("BooleanTypeAnnotation",e,u)}r(Tt,"assertBooleanTypeAnnotation"),n(Tt,"assertBooleanTypeAnnotation");function mt(e,u){s("BooleanLiteralTypeAnnotation",e,u)}r(mt,"assertBooleanLiteralTypeAnnotation"),n(mt,"assertBooleanLiteralTypeAnnotation");function St(e,u){s("NullLiteralTypeAnnotation",e,u)}r(St,"assertNullLiteralTypeAnnotation"),n(St,"assertNullLiteralTypeAnnotation");function Et(e,u){s("ClassImplements",e,u)}r(Et,"assertClassImplements"),n(Et,"assertClassImplements");function bt(e,u){s("DeclareClass",e,u)}r(bt,"assertDeclareClass"),n(bt,"assertDeclareClass");function vt(e,u){s("DeclareFunction",e,u)}r(vt,"assertDeclareFunction"),n(vt,"assertDeclareFunction");function Pt(e,u){s("DeclareInterface",e,u)}r(Pt,"assertDeclareInterface"),n(Pt,"assertDeclareInterface");function At(e,u){s("DeclareModule",e,u)}r(At,"assertDeclareModule"),n(At,"assertDeclareModule");function xt(e,u){s("DeclareModuleExports",e,u)}r(xt,"assertDeclareModuleExports"),n(xt,"assertDeclareModuleExports");function gt(e,u){s("DeclareTypeAlias",e,u)}r(gt,"assertDeclareTypeAlias"),n(gt,"assertDeclareTypeAlias");function It(e,u){s("DeclareOpaqueType",e,u)}r(It,"assertDeclareOpaqueType"),n(It,"assertDeclareOpaqueType");function Ot(e,u){s("DeclareVariable",e,u)}r(Ot,"assertDeclareVariable"),n(Ot,"assertDeclareVariable");function Dt(e,u){s("DeclareExportDeclaration",e,u)}r(Dt,"assertDeclareExportDeclaration"),n(Dt,"assertDeclareExportDeclaration");function ht(e,u){s("DeclareExportAllDeclaration",e,u)}r(ht,"assertDeclareExportAllDeclaration"),n(ht,"assertDeclareExportAllDeclaration");function Nt(e,u){s("DeclaredPredicate",e,u)}r(Nt,"assertDeclaredPredicate"),n(Nt,"assertDeclaredPredicate");function Lt(e,u){s("ExistsTypeAnnotation",e,u)}r(Lt,"assertExistsTypeAnnotation"),n(Lt,"assertExistsTypeAnnotation");function Ct(e,u){s("FunctionTypeAnnotation",e,u)}r(Ct,"assertFunctionTypeAnnotation"),n(Ct,"assertFunctionTypeAnnotation");function _t(e,u){s("FunctionTypeParam",e,u)}r(_t,"assertFunctionTypeParam"),n(_t,"assertFunctionTypeParam");function Bt(e,u){s("GenericTypeAnnotation",e,u)}r(Bt,"assertGenericTypeAnnotation"),n(Bt,"assertGenericTypeAnnotation");function Mt(e,u){s("InferredPredicate",e,u)}r(Mt,"assertInferredPredicate"),n(Mt,"assertInferredPredicate");function jt(e,u){s("InterfaceExtends",e,u)}r(jt,"assertInterfaceExtends"),n(jt,"assertInterfaceExtends");function wt(e,u){s("InterfaceDeclaration",e,u)}r(wt,"assertInterfaceDeclaration"),n(wt,"assertInterfaceDeclaration");function Ft(e,u){s("InterfaceTypeAnnotation",e,u)}r(Ft,"assertInterfaceTypeAnnotation"),n(Ft,"assertInterfaceTypeAnnotation");function Rt(e,u){s("IntersectionTypeAnnotation",e,u)}r(Rt,"assertIntersectionTypeAnnotation"),n(Rt,"assertIntersectionTypeAnnotation");function kt(e,u){s("MixedTypeAnnotation",e,u)}r(kt,"assertMixedTypeAnnotation"),n(kt,"assertMixedTypeAnnotation");function Kt(e,u){s("EmptyTypeAnnotation",e,u)}r(Kt,"assertEmptyTypeAnnotation"),n(Kt,"assertEmptyTypeAnnotation");function qt(e,u){s("NullableTypeAnnotation",e,u)}r(qt,"assertNullableTypeAnnotation"),n(qt,"assertNullableTypeAnnotation");function Vt(e,u){s("NumberLiteralTypeAnnotation",e,u)}r(Vt,"assertNumberLiteralTypeAnnotation"),n(Vt,"assertNumberLiteralTypeAnnotation");function Xt(e,u){s("NumberTypeAnnotation",e,u)}r(Xt,"assertNumberTypeAnnotation"),n(Xt,"assertNumberTypeAnnotation");function Yt(e,u){s("ObjectTypeAnnotation",e,u)}r(Yt,"assertObjectTypeAnnotation"),n(Yt,"assertObjectTypeAnnotation");function Jt(e,u){s("ObjectTypeInternalSlot",e,u)}r(Jt,"assertObjectTypeInternalSlot"),n(Jt,"assertObjectTypeInternalSlot");function Ut(e,u){s("ObjectTypeCallProperty",e,u)}r(Ut,"assertObjectTypeCallProperty"),n(Ut,"assertObjectTypeCallProperty");function Wt(e,u){s("ObjectTypeIndexer",e,u)}r(Wt,"assertObjectTypeIndexer"),n(Wt,"assertObjectTypeIndexer");function Gt(e,u){s("ObjectTypeProperty",e,u)}r(Gt,"assertObjectTypeProperty"),n(Gt,"assertObjectTypeProperty");function zt(e,u){s("ObjectTypeSpreadProperty",e,u)}r(zt,"assertObjectTypeSpreadProperty"),n(zt,"assertObjectTypeSpreadProperty");function Qt(e,u){s("OpaqueType",e,u)}r(Qt,"assertOpaqueType"),n(Qt,"assertOpaqueType");function $t(e,u){s("QualifiedTypeIdentifier",e,u)}r($t,"assertQualifiedTypeIdentifier"),n($t,"assertQualifiedTypeIdentifier");function Ht(e,u){s("StringLiteralTypeAnnotation",e,u)}r(Ht,"assertStringLiteralTypeAnnotation"),n(Ht,"assertStringLiteralTypeAnnotation");function Zt(e,u){s("StringTypeAnnotation",e,u)}r(Zt,"assertStringTypeAnnotation"),n(Zt,"assertStringTypeAnnotation");function er(e,u){s("SymbolTypeAnnotation",e,u)}r(er,"assertSymbolTypeAnnotation"),n(er,"assertSymbolTypeAnnotation");function tr(e,u){s("ThisTypeAnnotation",e,u)}r(tr,"assertThisTypeAnnotation"),n(tr,"assertThisTypeAnnotation");function rr(e,u){s("TupleTypeAnnotation",e,u)}r(rr,"assertTupleTypeAnnotation"),n(rr,"assertTupleTypeAnnotation");function nr(e,u){s("TypeofTypeAnnotation",e,u)}r(nr,"assertTypeofTypeAnnotation"),n(nr,"assertTypeofTypeAnnotation");function ar(e,u){s("TypeAlias",e,u)}r(ar,"assertTypeAlias"),n(ar,"assertTypeAlias");function ir(e,u){s("TypeAnnotation",e,u)}r(ir,"assertTypeAnnotation"),n(ir,"assertTypeAnnotation");function sr(e,u){s("TypeCastExpression",e,u)}r(sr,"assertTypeCastExpression"),n(sr,"assertTypeCastExpression");function or(e,u){s("TypeParameter",e,u)}r(or,"assertTypeParameter"),n(or,"assertTypeParameter");function lr(e,u){s("TypeParameterDeclaration",e,u)}r(lr,"assertTypeParameterDeclaration"),n(lr,"assertTypeParameterDeclaration");function pr(e,u){s("TypeParameterInstantiation",e,u)}r(pr,"assertTypeParameterInstantiation"),n(pr,"assertTypeParameterInstantiation");function ur(e,u){s("UnionTypeAnnotation",e,u)}r(ur,"assertUnionTypeAnnotation"),n(ur,"assertUnionTypeAnnotation");function cr(e,u){s("Variance",e,u)}r(cr,"assertVariance"),n(cr,"assertVariance");function dr(e,u){s("VoidTypeAnnotation",e,u)}r(dr,"assertVoidTypeAnnotation"),n(dr,"assertVoidTypeAnnotation");function yr(e,u){s("EnumDeclaration",e,u)}r(yr,"assertEnumDeclaration"),n(yr,"assertEnumDeclaration");function fr(e,u){s("EnumBooleanBody",e,u)}r(fr,"assertEnumBooleanBody"),n(fr,"assertEnumBooleanBody");function Tr(e,u){s("EnumNumberBody",e,u)}r(Tr,"assertEnumNumberBody"),n(Tr,"assertEnumNumberBody");function mr(e,u){s("EnumStringBody",e,u)}r(mr,"assertEnumStringBody"),n(mr,"assertEnumStringBody");function Sr(e,u){s("EnumSymbolBody",e,u)}r(Sr,"assertEnumSymbolBody"),n(Sr,"assertEnumSymbolBody");function Er(e,u){s("EnumBooleanMember",e,u)}r(Er,"assertEnumBooleanMember"),n(Er,"assertEnumBooleanMember");function br(e,u){s("EnumNumberMember",e,u)}r(br,"assertEnumNumberMember"),n(br,"assertEnumNumberMember");function vr(e,u){s("EnumStringMember",e,u)}r(vr,"assertEnumStringMember"),n(vr,"assertEnumStringMember");function Pr(e,u){s("EnumDefaultedMember",e,u)}r(Pr,"assertEnumDefaultedMember"),n(Pr,"assertEnumDefaultedMember");function Ar(e,u){s("IndexedAccessType",e,u)}r(Ar,"assertIndexedAccessType"),n(Ar,"assertIndexedAccessType");function xr(e,u){s("OptionalIndexedAccessType",e,u)}r(xr,"assertOptionalIndexedAccessType"),n(xr,"assertOptionalIndexedAccessType");function gr(e,u){s("JSXAttribute",e,u)}r(gr,"assertJSXAttribute"),n(gr,"assertJSXAttribute");function Ir(e,u){s("JSXClosingElement",e,u)}r(Ir,"assertJSXClosingElement"),n(Ir,"assertJSXClosingElement");function Or(e,u){s("JSXElement",e,u)}r(Or,"assertJSXElement"),n(Or,"assertJSXElement");function Dr(e,u){s("JSXEmptyExpression",e,u)}r(Dr,"assertJSXEmptyExpression"),n(Dr,"assertJSXEmptyExpression");function hr(e,u){s("JSXExpressionContainer",e,u)}r(hr,"assertJSXExpressionContainer"),n(hr,"assertJSXExpressionContainer");function Nr(e,u){s("JSXSpreadChild",e,u)}r(Nr,"assertJSXSpreadChild"),n(Nr,"assertJSXSpreadChild");function Lr(e,u){s("JSXIdentifier",e,u)}r(Lr,"assertJSXIdentifier"),n(Lr,"assertJSXIdentifier");function Cr(e,u){s("JSXMemberExpression",e,u)}r(Cr,"assertJSXMemberExpression"),n(Cr,"assertJSXMemberExpression");function _r(e,u){s("JSXNamespacedName",e,u)}r(_r,"assertJSXNamespacedName"),n(_r,"assertJSXNamespacedName");function Br(e,u){s("JSXOpeningElement",e,u)}r(Br,"assertJSXOpeningElement"),n(Br,"assertJSXOpeningElement");function Mr(e,u){s("JSXSpreadAttribute",e,u)}r(Mr,"assertJSXSpreadAttribute"),n(Mr,"assertJSXSpreadAttribute");function jr(e,u){s("JSXText",e,u)}r(jr,"assertJSXText"),n(jr,"assertJSXText");function wr(e,u){s("JSXFragment",e,u)}r(wr,"assertJSXFragment"),n(wr,"assertJSXFragment");function Fr(e,u){s("JSXOpeningFragment",e,u)}r(Fr,"assertJSXOpeningFragment"),n(Fr,"assertJSXOpeningFragment");function Rr(e,u){s("JSXClosingFragment",e,u)}r(Rr,"assertJSXClosingFragment"),n(Rr,"assertJSXClosingFragment");function kr(e,u){s("Noop",e,u)}r(kr,"assertNoop"),n(kr,"assertNoop");function Kr(e,u){s("Placeholder",e,u)}r(Kr,"assertPlaceholder"),n(Kr,"assertPlaceholder");function qr(e,u){s("V8IntrinsicIdentifier",e,u)}r(qr,"assertV8IntrinsicIdentifier"),n(qr,"assertV8IntrinsicIdentifier");function Vr(e,u){s("ArgumentPlaceholder",e,u)}r(Vr,"assertArgumentPlaceholder"),n(Vr,"assertArgumentPlaceholder");function Xr(e,u){s("BindExpression",e,u)}r(Xr,"assertBindExpression"),n(Xr,"assertBindExpression");function Yr(e,u){s("Decorator",e,u)}r(Yr,"assertDecorator"),n(Yr,"assertDecorator");function Jr(e,u){s("DoExpression",e,u)}r(Jr,"assertDoExpression"),n(Jr,"assertDoExpression");function Ur(e,u){s("ExportDefaultSpecifier",e,u)}r(Ur,"assertExportDefaultSpecifier"),n(Ur,"assertExportDefaultSpecifier");function Wr(e,u){s("RecordExpression",e,u)}r(Wr,"assertRecordExpression"),n(Wr,"assertRecordExpression");function Gr(e,u){s("TupleExpression",e,u)}r(Gr,"assertTupleExpression"),n(Gr,"assertTupleExpression");function zr(e,u){s("DecimalLiteral",e,u)}r(zr,"assertDecimalLiteral"),n(zr,"assertDecimalLiteral");function Qr(e,u){s("ModuleExpression",e,u)}r(Qr,"assertModuleExpression"),n(Qr,"assertModuleExpression");function $r(e,u){s("TopicReference",e,u)}r($r,"assertTopicReference"),n($r,"assertTopicReference");function Hr(e,u){s("PipelineTopicExpression",e,u)}r(Hr,"assertPipelineTopicExpression"),n(Hr,"assertPipelineTopicExpression");function Zr(e,u){s("PipelineBareFunction",e,u)}r(Zr,"assertPipelineBareFunction"),n(Zr,"assertPipelineBareFunction");function en(e,u){s("PipelinePrimaryTopicReference",e,u)}r(en,"assertPipelinePrimaryTopicReference"),n(en,"assertPipelinePrimaryTopicReference");function tn(e,u){s("VoidPattern",e,u)}r(tn,"assertVoidPattern"),n(tn,"assertVoidPattern");function rn(e,u){s("TSParameterProperty",e,u)}r(rn,"assertTSParameterProperty"),n(rn,"assertTSParameterProperty");function nn(e,u){s("TSDeclareFunction",e,u)}r(nn,"assertTSDeclareFunction"),n(nn,"assertTSDeclareFunction");function an(e,u){s("TSDeclareMethod",e,u)}r(an,"assertTSDeclareMethod"),n(an,"assertTSDeclareMethod");function sn(e,u){s("TSQualifiedName",e,u)}r(sn,"assertTSQualifiedName"),n(sn,"assertTSQualifiedName");function on(e,u){s("TSCallSignatureDeclaration",e,u)}r(on,"assertTSCallSignatureDeclaration"),n(on,"assertTSCallSignatureDeclaration");function ln(e,u){s("TSConstructSignatureDeclaration",e,u)}r(ln,"assertTSConstructSignatureDeclaration"),n(ln,"assertTSConstructSignatureDeclaration");function pn(e,u){s("TSPropertySignature",e,u)}r(pn,"assertTSPropertySignature"),n(pn,"assertTSPropertySignature");function un(e,u){s("TSMethodSignature",e,u)}r(un,"assertTSMethodSignature"),n(un,"assertTSMethodSignature");function cn(e,u){s("TSIndexSignature",e,u)}r(cn,"assertTSIndexSignature"),n(cn,"assertTSIndexSignature");function dn(e,u){s("TSAnyKeyword",e,u)}r(dn,"assertTSAnyKeyword"),n(dn,"assertTSAnyKeyword");function yn(e,u){s("TSBooleanKeyword",e,u)}r(yn,"assertTSBooleanKeyword"),n(yn,"assertTSBooleanKeyword");function fn(e,u){s("TSBigIntKeyword",e,u)}r(fn,"assertTSBigIntKeyword"),n(fn,"assertTSBigIntKeyword");function Tn(e,u){s("TSIntrinsicKeyword",e,u)}r(Tn,"assertTSIntrinsicKeyword"),n(Tn,"assertTSIntrinsicKeyword");function mn(e,u){s("TSNeverKeyword",e,u)}r(mn,"assertTSNeverKeyword"),n(mn,"assertTSNeverKeyword");function Sn(e,u){s("TSNullKeyword",e,u)}r(Sn,"assertTSNullKeyword"),n(Sn,"assertTSNullKeyword");function En(e,u){s("TSNumberKeyword",e,u)}r(En,"assertTSNumberKeyword"),n(En,"assertTSNumberKeyword");function bn(e,u){s("TSObjectKeyword",e,u)}r(bn,"assertTSObjectKeyword"),n(bn,"assertTSObjectKeyword");function vn(e,u){s("TSStringKeyword",e,u)}r(vn,"assertTSStringKeyword"),n(vn,"assertTSStringKeyword");function Pn(e,u){s("TSSymbolKeyword",e,u)}r(Pn,"assertTSSymbolKeyword"),n(Pn,"assertTSSymbolKeyword");function An(e,u){s("TSUndefinedKeyword",e,u)}r(An,"assertTSUndefinedKeyword"),n(An,"assertTSUndefinedKeyword");function xn(e,u){s("TSUnknownKeyword",e,u)}r(xn,"assertTSUnknownKeyword"),n(xn,"assertTSUnknownKeyword");function gn(e,u){s("TSVoidKeyword",e,u)}r(gn,"assertTSVoidKeyword"),n(gn,"assertTSVoidKeyword");function In(e,u){s("TSThisType",e,u)}r(In,"assertTSThisType"),n(In,"assertTSThisType");function On(e,u){s("TSFunctionType",e,u)}r(On,"assertTSFunctionType"),n(On,"assertTSFunctionType");function Dn(e,u){s("TSConstructorType",e,u)}r(Dn,"assertTSConstructorType"),n(Dn,"assertTSConstructorType");function hn(e,u){s("TSTypeReference",e,u)}r(hn,"assertTSTypeReference"),n(hn,"assertTSTypeReference");function Nn(e,u){s("TSTypePredicate",e,u)}r(Nn,"assertTSTypePredicate"),n(Nn,"assertTSTypePredicate");function Ln(e,u){s("TSTypeQuery",e,u)}r(Ln,"assertTSTypeQuery"),n(Ln,"assertTSTypeQuery");function Cn(e,u){s("TSTypeLiteral",e,u)}r(Cn,"assertTSTypeLiteral"),n(Cn,"assertTSTypeLiteral");function _n(e,u){s("TSArrayType",e,u)}r(_n,"assertTSArrayType"),n(_n,"assertTSArrayType");function Bn(e,u){s("TSTupleType",e,u)}r(Bn,"assertTSTupleType"),n(Bn,"assertTSTupleType");function Mn(e,u){s("TSOptionalType",e,u)}r(Mn,"assertTSOptionalType"),n(Mn,"assertTSOptionalType");function jn(e,u){s("TSRestType",e,u)}r(jn,"assertTSRestType"),n(jn,"assertTSRestType");function wn(e,u){s("TSNamedTupleMember",e,u)}r(wn,"assertTSNamedTupleMember"),n(wn,"assertTSNamedTupleMember");function Fn(e,u){s("TSUnionType",e,u)}r(Fn,"assertTSUnionType"),n(Fn,"assertTSUnionType");function Rn(e,u){s("TSIntersectionType",e,u)}r(Rn,"assertTSIntersectionType"),n(Rn,"assertTSIntersectionType");function kn(e,u){s("TSConditionalType",e,u)}r(kn,"assertTSConditionalType"),n(kn,"assertTSConditionalType");function Kn(e,u){s("TSInferType",e,u)}r(Kn,"assertTSInferType"),n(Kn,"assertTSInferType");function qn(e,u){s("TSParenthesizedType",e,u)}r(qn,"assertTSParenthesizedType"),n(qn,"assertTSParenthesizedType");function Vn(e,u){s("TSTypeOperator",e,u)}r(Vn,"assertTSTypeOperator"),n(Vn,"assertTSTypeOperator");function Xn(e,u){s("TSIndexedAccessType",e,u)}r(Xn,"assertTSIndexedAccessType"),n(Xn,"assertTSIndexedAccessType");function Yn(e,u){s("TSMappedType",e,u)}r(Yn,"assertTSMappedType"),n(Yn,"assertTSMappedType");function Jn(e,u){s("TSTemplateLiteralType",e,u)}r(Jn,"assertTSTemplateLiteralType"),n(Jn,"assertTSTemplateLiteralType");function Un(e,u){s("TSLiteralType",e,u)}r(Un,"assertTSLiteralType"),n(Un,"assertTSLiteralType");function Wn(e,u){s("TSExpressionWithTypeArguments",e,u)}r(Wn,"assertTSExpressionWithTypeArguments"),n(Wn,"assertTSExpressionWithTypeArguments");function Gn(e,u){s("TSInterfaceDeclaration",e,u)}r(Gn,"assertTSInterfaceDeclaration"),n(Gn,"assertTSInterfaceDeclaration");function zn(e,u){s("TSInterfaceBody",e,u)}r(zn,"assertTSInterfaceBody"),n(zn,"assertTSInterfaceBody");function Qn(e,u){s("TSTypeAliasDeclaration",e,u)}r(Qn,"assertTSTypeAliasDeclaration"),n(Qn,"assertTSTypeAliasDeclaration");function $n(e,u){s("TSInstantiationExpression",e,u)}r($n,"assertTSInstantiationExpression"),n($n,"assertTSInstantiationExpression");function Hn(e,u){s("TSAsExpression",e,u)}r(Hn,"assertTSAsExpression"),n(Hn,"assertTSAsExpression");function Zn(e,u){s("TSSatisfiesExpression",e,u)}r(Zn,"assertTSSatisfiesExpression"),n(Zn,"assertTSSatisfiesExpression");function ea(e,u){s("TSTypeAssertion",e,u)}r(ea,"assertTSTypeAssertion"),n(ea,"assertTSTypeAssertion");function ta(e,u){s("TSEnumBody",e,u)}r(ta,"assertTSEnumBody"),n(ta,"assertTSEnumBody");function ra(e,u){s("TSEnumDeclaration",e,u)}r(ra,"assertTSEnumDeclaration"),n(ra,"assertTSEnumDeclaration");function na(e,u){s("TSEnumMember",e,u)}r(na,"assertTSEnumMember"),n(na,"assertTSEnumMember");function aa(e,u){s("TSModuleDeclaration",e,u)}r(aa,"assertTSModuleDeclaration"),n(aa,"assertTSModuleDeclaration");function ia(e,u){s("TSModuleBlock",e,u)}r(ia,"assertTSModuleBlock"),n(ia,"assertTSModuleBlock");function sa(e,u){s("TSImportType",e,u)}r(sa,"assertTSImportType"),n(sa,"assertTSImportType");function oa(e,u){s("TSImportEqualsDeclaration",e,u)}r(oa,"assertTSImportEqualsDeclaration"),n(oa,"assertTSImportEqualsDeclaration");function la(e,u){s("TSExternalModuleReference",e,u)}r(la,"assertTSExternalModuleReference"),n(la,"assertTSExternalModuleReference");function pa(e,u){s("TSNonNullExpression",e,u)}r(pa,"assertTSNonNullExpression"),n(pa,"assertTSNonNullExpression");function ua(e,u){s("TSExportAssignment",e,u)}r(ua,"assertTSExportAssignment"),n(ua,"assertTSExportAssignment");function ca(e,u){s("TSNamespaceExportDeclaration",e,u)}r(ca,"assertTSNamespaceExportDeclaration"),n(ca,"assertTSNamespaceExportDeclaration");function da(e,u){s("TSTypeAnnotation",e,u)}r(da,"assertTSTypeAnnotation"),n(da,"assertTSTypeAnnotation");function ya(e,u){s("TSTypeParameterInstantiation",e,u)}r(ya,"assertTSTypeParameterInstantiation"),n(ya,"assertTSTypeParameterInstantiation");function fa(e,u){s("TSTypeParameterDeclaration",e,u)}r(fa,"assertTSTypeParameterDeclaration"),n(fa,"assertTSTypeParameterDeclaration");function Ta(e,u){s("TSTypeParameter",e,u)}r(Ta,"assertTSTypeParameter"),n(Ta,"assertTSTypeParameter");function ma(e,u){s("Standardized",e,u)}r(ma,"assertStandardized"),n(ma,"assertStandardized");function Sa(e,u){s("Expression",e,u)}r(Sa,"assertExpression"),n(Sa,"assertExpression");function Ea(e,u){s("Binary",e,u)}r(Ea,"assertBinary"),n(Ea,"assertBinary");function ba(e,u){s("Scopable",e,u)}r(ba,"assertScopable"),n(ba,"assertScopable");function va(e,u){s("BlockParent",e,u)}r(va,"assertBlockParent"),n(va,"assertBlockParent");function Pa(e,u){s("Block",e,u)}r(Pa,"assertBlock"),n(Pa,"assertBlock");function l(e,u){s("Statement",e,u)}r(l,"assertStatement"),n(l,"assertStatement");function p(e,u){s("Terminatorless",e,u)}r(p,"assertTerminatorless"),n(p,"assertTerminatorless");function c(e,u){s("CompletionStatement",e,u)}r(c,"assertCompletionStatement"),n(c,"assertCompletionStatement");function m(e,u){s("Conditional",e,u)}r(m,"assertConditional"),n(m,"assertConditional");function v(e,u){s("Loop",e,u)}r(v,"assertLoop"),n(v,"assertLoop");function O(e,u){s("While",e,u)}r(O,"assertWhile"),n(O,"assertWhile");function R(e,u){s("ExpressionWrapper",e,u)}r(R,"assertExpressionWrapper"),n(R,"assertExpressionWrapper");function z(e,u){s("For",e,u)}r(z,"assertFor"),n(z,"assertFor");function ne(e,u){s("ForXStatement",e,u)}r(ne,"assertForXStatement"),n(ne,"assertForXStatement");function ye(e,u){s("Function",e,u)}r(ye,"assertFunction"),n(ye,"assertFunction");function La(e,u){s("FunctionParent",e,u)}r(La,"assertFunctionParent"),n(La,"assertFunctionParent");function Ca(e,u){s("Pureish",e,u)}r(Ca,"assertPureish"),n(Ca,"assertPureish");function _a(e,u){s("Declaration",e,u)}r(_a,"assertDeclaration"),n(_a,"assertDeclaration");function Ba(e,u){s("FunctionParameter",e,u)}r(Ba,"assertFunctionParameter"),n(Ba,"assertFunctionParameter");function Ma(e,u){s("PatternLike",e,u)}r(Ma,"assertPatternLike"),n(Ma,"assertPatternLike");function ja(e,u){s("LVal",e,u)}r(ja,"assertLVal"),n(ja,"assertLVal");function wa(e,u){s("TSEntityName",e,u)}r(wa,"assertTSEntityName"),n(wa,"assertTSEntityName");function Fa(e,u){s("Literal",e,u)}r(Fa,"assertLiteral"),n(Fa,"assertLiteral");function Ra(e,u){s("Immutable",e,u)}r(Ra,"assertImmutable"),n(Ra,"assertImmutable");function ka(e,u){s("UserWhitespacable",e,u)}r(ka,"assertUserWhitespacable"),n(ka,"assertUserWhitespacable");function Ka(e,u){s("Method",e,u)}r(Ka,"assertMethod"),n(Ka,"assertMethod");function qa(e,u){s("ObjectMember",e,u)}r(qa,"assertObjectMember"),n(qa,"assertObjectMember");function Va(e,u){s("Property",e,u)}r(Va,"assertProperty"),n(Va,"assertProperty");function Xa(e,u){s("UnaryLike",e,u)}r(Xa,"assertUnaryLike"),n(Xa,"assertUnaryLike");function Ya(e,u){s("Pattern",e,u)}r(Ya,"assertPattern"),n(Ya,"assertPattern");function Oa(e,u){s("Class",e,u)}r(Oa,"assertClass"),n(Oa,"assertClass");function Ja(e,u){s("ImportOrExportDeclaration",e,u)}r(Ja,"assertImportOrExportDeclaration"),n(Ja,"assertImportOrExportDeclaration");function Ua(e,u){s("ExportDeclaration",e,u)}r(Ua,"assertExportDeclaration"),n(Ua,"assertExportDeclaration");function Wa(e,u){s("ModuleSpecifier",e,u)}r(Wa,"assertModuleSpecifier"),n(Wa,"assertModuleSpecifier");function Ga(e,u){s("Accessor",e,u)}r(Ga,"assertAccessor"),n(Ga,"assertAccessor");function za(e,u){s("Private",e,u)}r(za,"assertPrivate"),n(za,"assertPrivate");function Qa(e,u){s("Flow",e,u)}r(Qa,"assertFlow"),n(Qa,"assertFlow");function $a(e,u){s("FlowType",e,u)}r($a,"assertFlowType"),n($a,"assertFlowType");function Ha(e,u){s("FlowBaseAnnotation",e,u)}r(Ha,"assertFlowBaseAnnotation"),n(Ha,"assertFlowBaseAnnotation");function Za(e,u){s("FlowDeclaration",e,u)}r(Za,"assertFlowDeclaration"),n(Za,"assertFlowDeclaration");function ei(e,u){s("FlowPredicate",e,u)}r(ei,"assertFlowPredicate"),n(ei,"assertFlowPredicate");function ti(e,u){s("EnumBody",e,u)}r(ti,"assertEnumBody"),n(ti,"assertEnumBody");function ri(e,u){s("EnumMember",e,u)}r(ri,"assertEnumMember"),n(ri,"assertEnumMember");function ni(e,u){s("JSX",e,u)}r(ni,"assertJSX"),n(ni,"assertJSX");function ai(e,u){s("Miscellaneous",e,u)}r(ai,"assertMiscellaneous"),n(ai,"assertMiscellaneous");function ii(e,u){s("TypeScript",e,u)}r(ii,"assertTypeScript"),n(ii,"assertTypeScript");function si(e,u){s("TSTypeElement",e,u)}r(si,"assertTSTypeElement"),n(si,"assertTSTypeElement");function oi(e,u){s("TSType",e,u)}r(oi,"assertTSType"),n(oi,"assertTSType");function li(e,u){s("TSBaseType",e,u)}r(li,"assertTSBaseType"),n(li,"assertTSBaseType");function pi(e,u){(0,o.default)("assertNumberLiteral","assertNumericLiteral"),s("NumberLiteral",e,u)}r(pi,"assertNumberLiteral"),n(pi,"assertNumberLiteral");function ui(e,u){(0,o.default)("assertRegexLiteral","assertRegExpLiteral"),s("RegexLiteral",e,u)}r(ui,"assertRegexLiteral"),n(ui,"assertRegexLiteral");function ci(e,u){(0,o.default)("assertRestProperty","assertRestElement"),s("RestProperty",e,u)}r(ci,"assertRestProperty"),n(ci,"assertRestProperty");function di(e,u){(0,o.default)("assertSpreadProperty","assertSpreadElement"),s("SpreadProperty",e,u)}r(di,"assertSpreadProperty"),n(di,"assertSpreadProperty");function t(e,u){(0,o.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),s("ModuleDeclaration",e,u)}return r(t,"assertModuleDeclaration"),n(t,"assertModuleDeclaration"),b}r(Ip,"requireGenerated$1");var Ti={},jo;function Op(){if(jo)return Ti;jo=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"n");Object.defineProperty(Ti,"__esModule",{value:!0}),Ti.default=void 0;var i=me();Ti.default=o;function o(s){switch(s){case"string":return(0,i.stringTypeAnnotation)();case"number":return(0,i.numberTypeAnnotation)();case"undefined":return(0,i.voidTypeAnnotation)();case"boolean":return(0,i.booleanTypeAnnotation)();case"function":return(0,i.genericTypeAnnotation)((0,i.identifier)("Function"));case"object":return(0,i.genericTypeAnnotation)((0,i.identifier)("Object"));case"symbol":return(0,i.genericTypeAnnotation)((0,i.identifier)("Symbol"));case"bigint":return(0,i.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+s)}return r(o,"createTypeAnnotationBasedOnTypeof$1"),n(o,"createTypeAnnotationBasedOnTypeof"),Ti}r(Op,"requireCreateTypeAnnotationBasedOnTypeof");var Fi={},Ri={},wo;function Vl(){if(wo)return Ri;wo=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"p");Object.defineProperty(Ri,"__esModule",{value:!0}),Ri.default=s;var i=ie();function o(a){return(0,i.isIdentifier)(a)?a.name:`${a.id.name}.${o(a.qualification)}`}r(o,"getQualifiedName"),n(o,"getQualifiedName");function s(a){const d=Array.from(a),f=new Map,x=new Map,P=new Set,g=[];for(let I=0;I<d.length;I++){const A=d[I];if(A&&!g.includes(A)){if((0,i.isAnyTypeAnnotation)(A))return[A];if((0,i.isFlowBaseAnnotation)(A)){x.set(A.type,A);continue}if((0,i.isUnionTypeAnnotation)(A)){P.has(A.types)||(d.push(...A.types),P.add(A.types));continue}if((0,i.isGenericTypeAnnotation)(A)){const D=o(A.id);if(f.has(D)){let C=f.get(D);C.typeParameters?A.typeParameters&&(C.typeParameters.params.push(...A.typeParameters.params),C.typeParameters.params=s(C.typeParameters.params)):C=A.typeParameters}else f.set(D,A);continue}g.push(A)}}for(const[,I]of x)g.push(I);for(const[,I]of f)g.push(I);return g}return r(s,"removeTypeDuplicates"),n(s,"removeTypeDuplicates"),Ri}r(Vl,"requireRemoveTypeDuplicates$1");var Fo;function Dp(){if(Fo)return Fi;Fo=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"r");Object.defineProperty(Fi,"__esModule",{value:!0}),Fi.default=s;var i=me(),o=Vl();function s(a){const d=(0,o.default)(a);return d.length===1?d[0]:(0,i.unionTypeAnnotation)(d)}return r(s,"createFlowUnionType$1"),n(s,"createFlowUnionType"),Fi}r(Dp,"requireCreateFlowUnionType");var ki={},Ki={},Ro;function hp(){if(Ro)return Ki;Ro=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"u");Object.defineProperty(Ki,"__esModule",{value:!0}),Ki.default=s;var i=ie();function o(a){return(0,i.isIdentifier)(a)?a.name:(0,i.isThisExpression)(a)?"this":`${a.right.name}.${o(a.left)}`}r(o,"getQualifiedName"),n(o,"getQualifiedName");function s(a){const d=Array.from(a),f=new Map,x=new Map,P=new Set,g=[];for(let I=0;I<d.length;I++){const A=d[I];if(!A||g.includes(A))continue;if((0,i.isTSAnyKeyword)(A))return[A];if((0,i.isTSBaseType)(A)){x.set(A.type,A);continue}if((0,i.isTSUnionType)(A)){P.has(A.types)||(d.push(...A.types),P.add(A.types));continue}const D="typeParameters";if((0,i.isTSTypeReference)(A)&&A[D]){const C=A[D],h=o(A.typeName);if(f.has(h)){let K=f.get(h);const N=K[D];N?(N.params.push(...C.params),N.params=s(N.params)):K=C}else f.set(h,A);continue}g.push(A)}for(const[,I]of x)g.push(I);for(const[,I]of f)g.push(I);return g}return r(s,"removeTypeDuplicates$1"),n(s,"removeTypeDuplicates"),Ki}r(hp,"requireRemoveTypeDuplicates");var ko;function Np(){if(ko)return ki;ko=1;var T=Object.defineProperty,n=r((d,f)=>T(d,"name",{value:f,configurable:!0}),"i");Object.defineProperty(ki,"__esModule",{value:!0}),ki.default=a;var i=me(),o=hp(),s=ie();function a(d){const f=d.map(P=>(0,s.isTSTypeAnnotation)(P)?P.typeAnnotation:P),x=(0,o.default)(f);return x.length===1?x[0]:(0,i.tsUnionType)(x)}return r(a,"createTSUnionType$1"),n(a,"createTSUnionType"),ki}r(Np,"requireCreateTSUnionType");var qi={},Ko;function Xl(){if(Ko)return qi;Ko=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"e");Object.defineProperty(qi,"__esModule",{value:!0}),qi.buildUndefinedNode=o;var i=me();function o(){return(0,i.unaryExpression)("void",(0,i.numericLiteral)(0),!0)}return r(o,"buildUndefinedNode"),n(o,"buildUndefinedNode"),qi}r(Xl,"requireProductions");var Vi={},qo;function Ia(){if(qo)return Vi;qo=1;var T=Object.defineProperty,n=r((g,I)=>T(g,"name",{value:I,configurable:!0}),"s");Object.defineProperty(Vi,"__esModule",{value:!0}),Vi.default=f;var i=Ee(),o=ie();const{hasOwn:s}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function a(g,I,A,D){return g&&typeof g.type=="string"?x(g,I,A,D):g}r(a,"cloneIfNode"),n(a,"cloneIfNode");function d(g,I,A,D){return Array.isArray(g)?g.map(C=>a(C,I,A,D)):a(g,I,A,D)}r(d,"cloneIfNodeOrArray"),n(d,"cloneIfNodeOrArray");function f(g,I=!0,A=!1){return x(g,I,A,new Map)}r(f,"cloneNode$1"),n(f,"cloneNode");function x(g,I=!0,A=!1,D){if(!g)return g;const{type:C}=g,h={type:g.type};if((0,o.isIdentifier)(g))h.name=g.name,s(g,"optional")&&typeof g.optional=="boolean"&&(h.optional=g.optional),s(g,"typeAnnotation")&&(h.typeAnnotation=I?d(g.typeAnnotation,!0,A,D):g.typeAnnotation),s(g,"decorators")&&(h.decorators=I?d(g.decorators,!0,A,D):g.decorators);else if(s(i.NODE_FIELDS,C))for(const K of Object.keys(i.NODE_FIELDS[C]))s(g,K)&&(I?h[K]=(0,o.isFile)(g)&&K==="comments"?P(g.comments,I,A,D):d(g[K],!0,A,D):h[K]=g[K]);else throw new Error(`Unknown node type: "${C}"`);return s(g,"loc")&&(A?h.loc=null:h.loc=g.loc),s(g,"leadingComments")&&(h.leadingComments=P(g.leadingComments,I,A,D)),s(g,"innerComments")&&(h.innerComments=P(g.innerComments,I,A,D)),s(g,"trailingComments")&&(h.trailingComments=P(g.trailingComments,I,A,D)),s(g,"extra")&&(h.extra=Object.assign({},g.extra)),h}r(x,"cloneNodeInternal"),n(x,"cloneNodeInternal");function P(g,I,A,D){return!g||!I?g:g.map(C=>{const h=D.get(C);if(h)return h;const{type:K,value:N,loc:M}=C,_={type:K,value:N,loc:M};return A&&(_.loc=null),D.set(C,_),_})}return r(P,"maybeCloneComments"),n(P,"maybeCloneComments"),Vi}r(Ia,"requireCloneNode");var Xi={},Vo;function Lp(){if(Vo)return Xi;Vo=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"r");Object.defineProperty(Xi,"__esModule",{value:!0}),Xi.default=o;var i=Ia();function o(s){return(0,i.default)(s,!1)}return r(o,"clone$1"),n(o,"clone"),Xi}r(Lp,"requireClone");var Yi={},Xo;function Cp(){if(Xo)return Yi;Xo=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"r");Object.defineProperty(Yi,"__esModule",{value:!0}),Yi.default=o;var i=Ia();function o(s){return(0,i.default)(s)}return r(o,"cloneDeep$1"),n(o,"cloneDeep"),Yi}r(Cp,"requireCloneDeep");var Ji={},Yo;function _p(){if(Yo)return Ji;Yo=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"t");Object.defineProperty(Ji,"__esModule",{value:!0}),Ji.default=o;var i=Ia();function o(s){return(0,i.default)(s,!0,!0)}return r(o,"cloneDeepWithoutLoc$1"),n(o,"cloneDeepWithoutLoc"),Ji}r(_p,"requireCloneDeepWithoutLoc");var Ui={},Jo;function Bp(){if(Jo)return Ui;Jo=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"t");Object.defineProperty(Ui,"__esModule",{value:!0}),Ui.default=o;var i=Ia();function o(s){return(0,i.default)(s,!1,!0)}return r(o,"cloneWithoutLoc$1"),n(o,"cloneWithoutLoc"),Ui}r(Bp,"requireCloneWithoutLoc");var Wi={},Gi={},Uo;function Yl(){if(Uo)return Gi;Uo=1;var T=Object.defineProperty,n=r((o,s)=>T(o,"name",{value:s,configurable:!0}),"s");Object.defineProperty(Gi,"__esModule",{value:!0}),Gi.default=i;function i(o,s,a){if(!a||!o)return o;const d=`${s}Comments`;return o[d]?s==="leading"?o[d]=a.concat(o[d]):o[d].push(...a):o[d]=a,o}return r(i,"addComments$1"),n(i,"addComments"),Gi}r(Yl,"requireAddComments");var Wo;function Mp(){if(Wo)return Wi;Wo=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"o");Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.default=o;var i=Yl();function o(s,a,d,f){return(0,i.default)(s,a,[{type:f?"CommentLine":"CommentBlock",value:d}])}return r(o,"addComment$1"),n(o,"addComment"),Wi}r(Mp,"requireAddComment");var zi={},Qi={},Go;function Vs(){if(Go)return Qi;Go=1;var T=Object.defineProperty,n=r((o,s)=>T(o,"name",{value:s,configurable:!0}),"o");Object.defineProperty(Qi,"__esModule",{value:!0}),Qi.default=i;function i(o,s,a){s&&a&&(s[o]=Array.from(new Set([].concat(s[o],a[o]).filter(Boolean))))}return r(i,"inherit$1"),n(i,"inherit"),Qi}r(Vs,"requireInherit");var zo;function Jl(){if(zo)return zi;zo=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"r");Object.defineProperty(zi,"__esModule",{value:!0}),zi.default=o;var i=Vs();function o(s,a){(0,i.default)("innerComments",s,a)}return r(o,"inheritInnerComments$1"),n(o,"inheritInnerComments"),zi}r(Jl,"requireInheritInnerComments");var $i={},Qo;function Ul(){if(Qo)return $i;Qo=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"i");Object.defineProperty($i,"__esModule",{value:!0}),$i.default=o;var i=Vs();function o(s,a){(0,i.default)("leadingComments",s,a)}return r(o,"inheritLeadingComments$1"),n(o,"inheritLeadingComments"),$i}r(Ul,"requireInheritLeadingComments");var Hi={},Zi={},$o;function Wl(){if($o)return Zi;$o=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"i");Object.defineProperty(Zi,"__esModule",{value:!0}),Zi.default=o;var i=Vs();function o(s,a){(0,i.default)("trailingComments",s,a)}return r(o,"inheritTrailingComments$1"),n(o,"inheritTrailingComments"),Zi}r(Wl,"requireInheritTrailingComments");var Ho;function Gl(){if(Ho)return Hi;Ho=1;var T=Object.defineProperty,n=r((d,f)=>T(d,"name",{value:f,configurable:!0}),"t");Object.defineProperty(Hi,"__esModule",{value:!0}),Hi.default=a;var i=Wl(),o=Ul(),s=Jl();function a(d,f){return(0,i.default)(d,f),(0,o.default)(d,f),(0,s.default)(d,f),d}return r(a,"inheritsComments$1"),n(a,"inheritsComments"),Hi}r(Gl,"requireInheritsComments");var es={},Zo;function jp(){if(Zo)return es;Zo=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"t");Object.defineProperty(es,"__esModule",{value:!0}),es.default=o;var i=xi();function o(s){return i.COMMENT_KEYS.forEach(a=>{s[a]=null}),s}return r(o,"removeComments$1"),n(o,"removeComments"),es}r(jp,"requireRemoveComments");var L={},el;function wp(){if(el)return L;el=1,Object.defineProperty(L,"__esModule",{value:!0}),L.WHILE_TYPES=L.USERWHITESPACABLE_TYPES=L.UNARYLIKE_TYPES=L.TYPESCRIPT_TYPES=L.TSTYPE_TYPES=L.TSTYPEELEMENT_TYPES=L.TSENTITYNAME_TYPES=L.TSBASETYPE_TYPES=L.TERMINATORLESS_TYPES=L.STATEMENT_TYPES=L.STANDARDIZED_TYPES=L.SCOPABLE_TYPES=L.PUREISH_TYPES=L.PROPERTY_TYPES=L.PRIVATE_TYPES=L.PATTERN_TYPES=L.PATTERNLIKE_TYPES=L.OBJECTMEMBER_TYPES=L.MODULESPECIFIER_TYPES=L.MODULEDECLARATION_TYPES=L.MISCELLANEOUS_TYPES=L.METHOD_TYPES=L.LVAL_TYPES=L.LOOP_TYPES=L.LITERAL_TYPES=L.JSX_TYPES=L.IMPORTOREXPORTDECLARATION_TYPES=L.IMMUTABLE_TYPES=L.FUNCTION_TYPES=L.FUNCTIONPARENT_TYPES=L.FUNCTIONPARAMETER_TYPES=L.FOR_TYPES=L.FORXSTATEMENT_TYPES=L.FLOW_TYPES=L.FLOWTYPE_TYPES=L.FLOWPREDICATE_TYPES=L.FLOWDECLARATION_TYPES=L.FLOWBASEANNOTATION_TYPES=L.EXPRESSION_TYPES=L.EXPRESSIONWRAPPER_TYPES=L.EXPORTDECLARATION_TYPES=L.ENUMMEMBER_TYPES=L.ENUMBODY_TYPES=L.DECLARATION_TYPES=L.CONDITIONAL_TYPES=L.COMPLETIONSTATEMENT_TYPES=L.CLASS_TYPES=L.BLOCK_TYPES=L.BLOCKPARENT_TYPES=L.BINARY_TYPES=L.ACCESSOR_TYPES=void 0;var T=Ee();L.STANDARDIZED_TYPES=T.FLIPPED_ALIAS_KEYS.Standardized,L.EXPRESSION_TYPES=T.FLIPPED_ALIAS_KEYS.Expression,L.BINARY_TYPES=T.FLIPPED_ALIAS_KEYS.Binary,L.SCOPABLE_TYPES=T.FLIPPED_ALIAS_KEYS.Scopable,L.BLOCKPARENT_TYPES=T.FLIPPED_ALIAS_KEYS.BlockParent,L.BLOCK_TYPES=T.FLIPPED_ALIAS_KEYS.Block,L.STATEMENT_TYPES=T.FLIPPED_ALIAS_KEYS.Statement,L.TERMINATORLESS_TYPES=T.FLIPPED_ALIAS_KEYS.Terminatorless,L.COMPLETIONSTATEMENT_TYPES=T.FLIPPED_ALIAS_KEYS.CompletionStatement,L.CONDITIONAL_TYPES=T.FLIPPED_ALIAS_KEYS.Conditional,L.LOOP_TYPES=T.FLIPPED_ALIAS_KEYS.Loop,L.WHILE_TYPES=T.FLIPPED_ALIAS_KEYS.While,L.EXPRESSIONWRAPPER_TYPES=T.FLIPPED_ALIAS_KEYS.ExpressionWrapper,L.FOR_TYPES=T.FLIPPED_ALIAS_KEYS.For,L.FORXSTATEMENT_TYPES=T.FLIPPED_ALIAS_KEYS.ForXStatement,L.FUNCTION_TYPES=T.FLIPPED_ALIAS_KEYS.Function,L.FUNCTIONPARENT_TYPES=T.FLIPPED_ALIAS_KEYS.FunctionParent,L.PUREISH_TYPES=T.FLIPPED_ALIAS_KEYS.Pureish,L.DECLARATION_TYPES=T.FLIPPED_ALIAS_KEYS.Declaration,L.FUNCTIONPARAMETER_TYPES=T.FLIPPED_ALIAS_KEYS.FunctionParameter,L.PATTERNLIKE_TYPES=T.FLIPPED_ALIAS_KEYS.PatternLike,L.LVAL_TYPES=T.FLIPPED_ALIAS_KEYS.LVal,L.TSENTITYNAME_TYPES=T.FLIPPED_ALIAS_KEYS.TSEntityName,L.LITERAL_TYPES=T.FLIPPED_ALIAS_KEYS.Literal,L.IMMUTABLE_TYPES=T.FLIPPED_ALIAS_KEYS.Immutable,L.USERWHITESPACABLE_TYPES=T.FLIPPED_ALIAS_KEYS.UserWhitespacable,L.METHOD_TYPES=T.FLIPPED_ALIAS_KEYS.Method,L.OBJECTMEMBER_TYPES=T.FLIPPED_ALIAS_KEYS.ObjectMember,L.PROPERTY_TYPES=T.FLIPPED_ALIAS_KEYS.Property,L.UNARYLIKE_TYPES=T.FLIPPED_ALIAS_KEYS.UnaryLike,L.PATTERN_TYPES=T.FLIPPED_ALIAS_KEYS.Pattern,L.CLASS_TYPES=T.FLIPPED_ALIAS_KEYS.Class;const n=L.IMPORTOREXPORTDECLARATION_TYPES=T.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration;return L.EXPORTDECLARATION_TYPES=T.FLIPPED_ALIAS_KEYS.ExportDeclaration,L.MODULESPECIFIER_TYPES=T.FLIPPED_ALIAS_KEYS.ModuleSpecifier,L.ACCESSOR_TYPES=T.FLIPPED_ALIAS_KEYS.Accessor,L.PRIVATE_TYPES=T.FLIPPED_ALIAS_KEYS.Private,L.FLOW_TYPES=T.FLIPPED_ALIAS_KEYS.Flow,L.FLOWTYPE_TYPES=T.FLIPPED_ALIAS_KEYS.FlowType,L.FLOWBASEANNOTATION_TYPES=T.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,L.FLOWDECLARATION_TYPES=T.FLIPPED_ALIAS_KEYS.FlowDeclaration,L.FLOWPREDICATE_TYPES=T.FLIPPED_ALIAS_KEYS.FlowPredicate,L.ENUMBODY_TYPES=T.FLIPPED_ALIAS_KEYS.EnumBody,L.ENUMMEMBER_TYPES=T.FLIPPED_ALIAS_KEYS.EnumMember,L.JSX_TYPES=T.FLIPPED_ALIAS_KEYS.JSX,L.MISCELLANEOUS_TYPES=T.FLIPPED_ALIAS_KEYS.Miscellaneous,L.TYPESCRIPT_TYPES=T.FLIPPED_ALIAS_KEYS.TypeScript,L.TSTYPEELEMENT_TYPES=T.FLIPPED_ALIAS_KEYS.TSTypeElement,L.TSTYPE_TYPES=T.FLIPPED_ALIAS_KEYS.TSType,L.TSBASETYPE_TYPES=T.FLIPPED_ALIAS_KEYS.TSBaseType,L.MODULEDECLARATION_TYPES=n,L}r(wp,"requireGenerated");var ts={},rs={},tl;function zl(){if(tl)return rs;tl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"i");Object.defineProperty(rs,"__esModule",{value:!0}),rs.default=s;var i=ie(),o=me();function s(a,d){if((0,i.isBlockStatement)(a))return a;let f=[];return(0,i.isEmptyStatement)(a)?f=[]:((0,i.isStatement)(a)||((0,i.isFunction)(d)?a=(0,o.returnStatement)(a):a=(0,o.expressionStatement)(a)),f=[a]),(0,o.blockStatement)(f)}return r(s,"toBlock$1"),n(s,"toBlock"),rs}r(zl,"requireToBlock");var rl;function Fp(){if(rl)return ts;rl=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"u");Object.defineProperty(ts,"__esModule",{value:!0}),ts.default=o;var i=zl();function o(s,a="body"){const d=(0,i.default)(s[a],s);return s[a]=d,d}return r(o,"ensureBlock$1"),n(o,"ensureBlock"),ts}r(Fp,"requireEnsureBlock");var ns={},as={},nl;function Ql(){if(nl)return as;nl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"a");Object.defineProperty(as,"__esModule",{value:!0}),as.default=s;var i=Ai(),o=Ks();function s(a){a=a+"";let d="";for(const f of a)d+=(0,o.isIdentifierChar)(f.codePointAt(0))?f:"-";return d=d.replace(/^[-0-9]+/,""),d=d.replace(/[-\s]+(.)?/g,function(f,x){return x?x.toUpperCase():""}),(0,i.default)(d)||(d=`_${d}`),d||"_"}return r(s,"toIdentifier$1"),n(s,"toIdentifier"),as}r(Ql,"requireToIdentifier");var al;function Rp(){if(al)return ns;al=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"t");Object.defineProperty(ns,"__esModule",{value:!0}),ns.default=o;var i=Ql();function o(s){return s=(0,i.default)(s),(s==="eval"||s==="arguments")&&(s="_"+s),s}return r(o,"toBindingIdentifierName$1"),n(o,"toBindingIdentifierName"),ns}r(Rp,"requireToBindingIdentifierName");var is={},il;function kp(){if(il)return is;il=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"t");Object.defineProperty(is,"__esModule",{value:!0}),is.default=s;var i=ie(),o=me();function s(a,d=a.key||a.property){return!a.computed&&(0,i.isIdentifier)(d)&&(d=(0,o.stringLiteral)(d.name)),d}return r(s,"toComputedKey$1"),n(s,"toComputedKey"),is}r(kp,"requireToComputedKey");var mi={},sl;function Kp(){if(sl)return mi;sl=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"e");Object.defineProperty(mi,"__esModule",{value:!0}),mi.default=void 0;var i=ie();mi.default=o;function o(s){if((0,i.isExpressionStatement)(s)&&(s=s.expression),(0,i.isExpression)(s))return s;if((0,i.isClass)(s)?(s.type="ClassExpression",s.abstract=!1):(0,i.isFunction)(s)&&(s.type="FunctionExpression"),!(0,i.isExpression)(s))throw new Error(`cannot turn ${s.type} to an expression`);return s}return r(o,"toExpression$1"),n(o,"toExpression"),mi}r(Kp,"requireToExpression");var ss={},os={},ls={},ol;function $l(){if(ol)return ls;ol=1;var T=Object.defineProperty,n=r((d,f)=>T(d,"name",{value:f,configurable:!0}),"f");Object.defineProperty(ls,"__esModule",{value:!0}),ls.default=a;var i=Ee();const o=Symbol(),s=Symbol();function a(d,f,x){if(!d)return!1;const P=i.VISITOR_KEYS[d.type];if(!P)return!1;x=x||{};const g=f(d,x);if(g!==void 0)switch(g){case o:return!1;case s:return!0}for(const I of P){const A=d[I];if(A){if(Array.isArray(A)){for(const D of A)if(a(D,f,x))return!0}else if(a(A,f,x))return!0}}return!1}return r(a,"traverseFast$1"),n(a,"traverseFast"),a.skip=o,a.stop=s,ls}r($l,"requireTraverseFast");var ps={},ll;function Hl(){if(ll)return ps;ll=1;var T=Object.defineProperty,n=r((d,f)=>T(d,"name",{value:f,configurable:!0}),"r");Object.defineProperty(ps,"__esModule",{value:!0}),ps.default=a;var i=xi();const o=["tokens","start","end","loc","raw","rawValue"],s=[...i.COMMENT_KEYS,"comments",...o];function a(d,f={}){const x=f.preserveComments?o:s;for(const g of x)d[g]!=null&&(d[g]=void 0);for(const g of Object.keys(d))g.startsWith("_")&&d[g]!=null&&(d[g]=void 0);const P=Object.getOwnPropertySymbols(d);for(const g of P)d[g]=null}return r(a,"removeProperties$1"),n(a,"removeProperties"),ps}r(Hl,"requireRemoveProperties");var pl;function Zl(){if(pl)return os;pl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"t");Object.defineProperty(os,"__esModule",{value:!0}),os.default=s;var i=$l(),o=Hl();function s(a,d){return(0,i.default)(a,o.default,d),a}return r(s,"removePropertiesDeep$1"),n(s,"removePropertiesDeep"),os}r(Zl,"requireRemovePropertiesDeep");var ul;function qp(){if(ul)return ss;ul=1;var T=Object.defineProperty,n=r((d,f)=>T(d,"name",{value:f,configurable:!0}),"t");Object.defineProperty(ss,"__esModule",{value:!0}),ss.default=a;var i=ie(),o=Ia(),s=Zl();function a(d,f=d.key){let x;return d.kind==="method"?a.increment()+"":((0,i.isIdentifier)(f)?x=f.name:(0,i.isStringLiteral)(f)?x=JSON.stringify(f.value):x=JSON.stringify((0,s.default)((0,o.default)(f))),d.computed&&(x=`[${x}]`),d.static&&(x=`static:${x}`),x)}return r(a,"toKeyAlias$1"),n(a,"toKeyAlias"),a.uid=0,a.increment=function(){return a.uid>=Number.MAX_SAFE_INTEGER?a.uid=0:a.uid++},ss}r(qp,"requireToKeyAlias");var Si={},cl;function Vp(){if(cl)return Si;cl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"i");Object.defineProperty(Si,"__esModule",{value:!0}),Si.default=void 0;var i=ie(),o=me();Si.default=s;function s(a,d){if((0,i.isStatement)(a))return a;let f=!1,x;if((0,i.isClass)(a))f=!0,x="ClassDeclaration";else if((0,i.isFunction)(a))f=!0,x="FunctionDeclaration";else if((0,i.isAssignmentExpression)(a))return(0,o.expressionStatement)(a);if(f&&!a.id&&(x=!1),!x){if(d)return!1;throw new Error(`cannot turn ${a.type} to a statement`)}return a.type=x,a}return r(s,"toStatement$1"),n(s,"toStatement"),Si}r(Vp,"requireToStatement");var Ei={},dl;function Xp(){if(dl)return Ei;dl=1;var T=Object.defineProperty,n=r((x,P)=>T(x,"name",{value:P,configurable:!0}),"n");Object.defineProperty(Ei,"__esModule",{value:!0}),Ei.default=void 0;var i=Ai(),o=me();Ei.default=f;const s=Function.call.bind(Object.prototype.toString);function a(x){return s(x)==="[object RegExp]"}r(a,"isRegExp"),n(a,"isRegExp");function d(x){if(typeof x!="object"||x===null||Object.prototype.toString.call(x)!=="[object Object]")return!1;const P=Object.getPrototypeOf(x);return P===null||Object.getPrototypeOf(P)===null}r(d,"isPlainObject"),n(d,"isPlainObject");function f(x){if(x===void 0)return(0,o.identifier)("undefined");if(x===!0||x===!1)return(0,o.booleanLiteral)(x);if(x===null)return(0,o.nullLiteral)();if(typeof x=="string")return(0,o.stringLiteral)(x);if(typeof x=="number"){let P;if(Number.isFinite(x))P=(0,o.numericLiteral)(Math.abs(x));else{let g;Number.isNaN(x)?g=(0,o.numericLiteral)(0):g=(0,o.numericLiteral)(1),P=(0,o.binaryExpression)("/",g,(0,o.numericLiteral)(0))}return(x<0||Object.is(x,-0))&&(P=(0,o.unaryExpression)("-",P)),P}if(typeof x=="bigint")return x<0?(0,o.unaryExpression)("-",(0,o.bigIntLiteral)(-x)):(0,o.bigIntLiteral)(x);if(a(x)){const P=x.source,g=/\/([a-z]*)$/.exec(x.toString())[1];return(0,o.regExpLiteral)(P,g)}if(Array.isArray(x))return(0,o.arrayExpression)(x.map(f));if(d(x)){const P=[];for(const g of Object.keys(x)){let I,A=!1;(0,i.default)(g)?g==="__proto__"?(A=!0,I=(0,o.stringLiteral)(g)):I=(0,o.identifier)(g):I=(0,o.stringLiteral)(g),P.push((0,o.objectProperty)(I,f(x[g]),A))}return(0,o.objectExpression)(P)}throw new Error("don't know how to turn this value into a node")}return r(f,"valueToNode$1"),n(f,"valueToNode"),Ei}r(Xp,"requireValueToNode");var us={},yl;function Yp(){if(yl)return us;yl=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"r");Object.defineProperty(us,"__esModule",{value:!0}),us.default=o;var i=me();function o(s,a,d=!1){return s.object=(0,i.memberExpression)(s.object,s.property,s.computed),s.property=a,s.computed=!!d,s}return r(o,"appendToMemberExpression$1"),n(o,"appendToMemberExpression"),us}r(Yp,"requireAppendToMemberExpression");var cs={},fl;function Jp(){if(fl)return cs;fl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"s");Object.defineProperty(cs,"__esModule",{value:!0}),cs.default=s;var i=xi(),o=Gl();function s(a,d){if(!a||!d)return a;for(const f of i.INHERIT_KEYS.optional)a[f]==null&&(a[f]=d[f]);for(const f of Object.keys(d))f.startsWith("_")&&f!=="__clone"&&(a[f]=d[f]);for(const f of i.INHERIT_KEYS.force)a[f]=d[f];return(0,o.default)(a,d),a}return r(s,"inherits$1"),n(s,"inherits"),cs}r(Jp,"requireInherits");var ds={},Tl;function Up(){if(Tl)return ds;Tl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"o");Object.defineProperty(ds,"__esModule",{value:!0}),ds.default=s;var i=me(),o=Xs();function s(a,d){if((0,o.isSuper)(a.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return a.object=(0,i.memberExpression)(d,a.object),a}return r(s,"prependToMemberExpression$1"),n(s,"prependToMemberExpression"),ds}r(Up,"requirePrependToMemberExpression");var ys={},ml;function Wp(){if(ml)return ys;ml=1;var T=Object.defineProperty,n=r((o,s)=>T(o,"name",{value:s,configurable:!0}),"a");Object.defineProperty(ys,"__esModule",{value:!0}),ys.default=i;function i(o){const s=[].concat(o),a=Object.create(null);for(;s.length;){const d=s.pop();if(d)switch(d.type){case"ArrayPattern":s.push(...d.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":s.push(d.left);break;case"ObjectPattern":s.push(...d.properties);break;case"ObjectProperty":s.push(d.value);break;case"RestElement":case"UpdateExpression":s.push(d.argument);break;case"UnaryExpression":d.operator==="delete"&&s.push(d.argument);break;case"Identifier":a[d.name]=d;break}}return a}return r(i,"getAssignmentIdentifiers$1"),n(i,"getAssignmentIdentifiers"),ys}r(Wp,"requireGetAssignmentIdentifiers");var fs={},Sl;function _s(){if(Sl)return fs;Sl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"c");Object.defineProperty(fs,"__esModule",{value:!0}),fs.default=o;var i=ie();function o(a,d,f,x){const P=[].concat(a),g=Object.create(null);for(;P.length;){const I=P.shift();if(!I||x&&((0,i.isAssignmentExpression)(I)||(0,i.isUnaryExpression)(I)||(0,i.isUpdateExpression)(I)))continue;if((0,i.isIdentifier)(I)){d?(g[I.name]=g[I.name]||[]).push(I):g[I.name]=I;continue}if((0,i.isExportDeclaration)(I)&&!(0,i.isExportAllDeclaration)(I)){(0,i.isDeclaration)(I.declaration)&&P.push(I.declaration);continue}if(f){if((0,i.isFunctionDeclaration)(I)){P.push(I.id);continue}if((0,i.isFunctionExpression)(I))continue}const A=o.keys[I.type];if(A)for(let D=0;D<A.length;D++){const C=A[D],h=I[C];h&&(Array.isArray(h)?P.push(...h):P.push(h))}}return g}r(o,"getBindingIdentifiers$1"),n(o,"getBindingIdentifiers");const s={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],TSImportEqualsDeclaration:["id"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]};return o.keys=s,fs}r(_s,"requireGetBindingIdentifiers");var bi={},El;function Gp(){if(El)return bi;El=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"r");Object.defineProperty(bi,"__esModule",{value:!0}),bi.default=void 0;var i=_s();bi.default=o;function o(s,a){return(0,i.default)(s,a,!0)}return r(o,"getOuterBindingIdentifiers$1"),n(o,"getOuterBindingIdentifiers"),bi}r(Gp,"requireGetOuterBindingIdentifiers");var Ts={},bl;function zp(){if(bl)return Ts;bl=1;var T=Object.defineProperty,n=r((d,f)=>T(d,"name",{value:f,configurable:!0}),"r");Object.defineProperty(Ts,"__esModule",{value:!0}),Ts.default=a;var i=ie();function o(d){return(0,i.isNullLiteral)(d)?"null":(0,i.isRegExpLiteral)(d)?`/${d.pattern}/${d.flags}`:(0,i.isTemplateLiteral)(d)?d.quasis.map(f=>f.value.raw).join(""):d.value!==void 0?String(d.value):null}r(o,"getNameFromLiteralId"),n(o,"getNameFromLiteralId");function s(d){if(!d.computed||(0,i.isLiteral)(d.key))return d.key}r(s,"getObjectMemberKey"),n(s,"getObjectMemberKey");function a(d,f){if("id"in d&&d.id)return{name:d.id.name,originalNode:d.id};let x="",P;if((0,i.isObjectProperty)(f,{value:d})?P=s(f):(0,i.isObjectMethod)(d)||(0,i.isClassMethod)(d)?(P=s(d),d.kind==="get"?x="get ":d.kind==="set"&&(x="set ")):(0,i.isVariableDeclarator)(f,{init:d})?P=f.id:(0,i.isAssignmentExpression)(f,{operator:"=",right:d})&&(P=f.left),!P)return null;const g=(0,i.isLiteral)(P)?o(P):(0,i.isIdentifier)(P)?P.name:(0,i.isPrivateName)(P)?P.id.name:null;return g==null?null:{name:x+g,originalNode:P}}return r(a,"getFunctionName$1"),n(a,"getFunctionName"),Ts}r(zp,"requireGetFunctionName");var ms={},vl;function Qp(){if(vl)return ms;vl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"y");Object.defineProperty(ms,"__esModule",{value:!0}),ms.default=o;var i=Ee();function o(a,d,f){typeof d=="function"&&(d={enter:d});const{enter:x,exit:P}=d;s(a,x,P,f,[])}r(o,"traverse$1"),n(o,"traverse");function s(a,d,f,x,P){const g=i.VISITOR_KEYS[a.type];if(g){d&&d(a,P,x);for(const I of g){const A=a[I];if(Array.isArray(A))for(let D=0;D<A.length;D++){const C=A[D];C&&(P.push({node:a,key:I,index:D}),s(C,d,f,x,P),P.pop())}else A&&(P.push({node:a,key:I}),s(A,d,f,x,P),P.pop())}f&&f(a,P,x)}}return r(s,"traverseSimpleImpl"),n(s,"traverseSimpleImpl"),ms}r(Qp,"requireTraverse");var Ss={},Pl;function $p(){if(Pl)return Ss;Pl=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"f");Object.defineProperty(Ss,"__esModule",{value:!0}),Ss.default=o;var i=_s();function o(s,a,d){if(d&&s.type==="Identifier"&&a.type==="ObjectProperty"&&d.type==="ObjectExpression")return!1;const f=i.default.keys[a.type];if(f)for(let x=0;x<f.length;x++){const P=f[x],g=a[P];if(Array.isArray(g)){if(g.includes(s))return!0}else if(g===s)return!0}return!1}return r(o,"isBinding$1"),n(o,"isBinding"),Ss}r($p,"requireIsBinding");var Es={},bs={},Al;function ep(){if(Al)return bs;Al=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"r");Object.defineProperty(bs,"__esModule",{value:!0}),bs.default=s;var i=ie(),o=Symbol.for("var used to be block scoped");function s(a){return(0,i.isVariableDeclaration)(a)&&(a.kind!=="var"||a[o])}return r(s,"isLet$1"),n(s,"isLet"),bs}r(ep,"requireIsLet");var xl;function Hp(){if(xl)return Es;xl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"r");Object.defineProperty(Es,"__esModule",{value:!0}),Es.default=s;var i=ie(),o=ep();function s(a){return(0,i.isFunctionDeclaration)(a)||(0,i.isClassDeclaration)(a)||(0,o.default)(a)}return r(s,"isBlockScoped$1"),n(s,"isBlockScoped"),Es}r(Hp,"requireIsBlockScoped");var vs={},gl;function Zp(){if(gl)return vs;gl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"r");Object.defineProperty(vs,"__esModule",{value:!0}),vs.default=s;var i=ks(),o=ie();function s(a){return(0,i.default)(a.type,"Immutable")?!0:(0,o.isIdentifier)(a)?a.name==="undefined":!1}return r(s,"isImmutable$1"),n(s,"isImmutable"),vs}r(Zp,"requireIsImmutable");var Ps={},Il;function eu(){if(Il)return Ps;Il=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"s");Object.defineProperty(Ps,"__esModule",{value:!0}),Ps.default=o;var i=Ee();function o(s,a){if(typeof s!="object"||typeof a!="object"||s==null||a==null)return s===a;if(s.type!==a.type)return!1;const d=Object.keys(i.NODE_FIELDS[s.type]||s.type),f=i.VISITOR_KEYS[s.type];for(const x of d){const P=s[x],g=a[x];if(typeof P!=typeof g)return!1;if(!(P==null&&g==null)){if(P==null||g==null)return!1;if(Array.isArray(P)){if(!Array.isArray(g)||P.length!==g.length)return!1;for(let I=0;I<P.length;I++)if(!o(P[I],g[I]))return!1;continue}if(typeof P=="object"&&!(f!=null&&f.includes(x))){for(const I of Object.keys(P))if(P[I]!==g[I])return!1;continue}if(!o(P,g))return!1}}return!0}return r(o,"isNodesEquivalent$1"),n(o,"isNodesEquivalent"),Ps}r(eu,"requireIsNodesEquivalent");var As={},Ol;function tu(){if(Ol)return As;Ol=1;var T=Object.defineProperty,n=r((o,s)=>T(o,"name",{value:s,configurable:!0}),"t");Object.defineProperty(As,"__esModule",{value:!0}),As.default=i;function i(o,s,a){switch(s.type){case"MemberExpression":case"OptionalMemberExpression":return s.property===o?!!s.computed:s.object===o;case"JSXMemberExpression":return s.object===o;case"VariableDeclarator":return s.init===o;case"ArrowFunctionExpression":return s.body===o;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return s.key===o?!!s.computed:!1;case"ObjectProperty":return s.key===o?!!s.computed:a?.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":return s.key===o?!!s.computed:!0;case"ClassPrivateProperty":return s.key!==o;case"ClassDeclaration":case"ClassExpression":return s.superClass===o;case"AssignmentExpression":return s.right===o;case"AssignmentPattern":return s.right===o;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 a!=null&&a.source?!1:s.local===o;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 s.key!==o;case"TSEnumMember":return s.id!==o;case"TSPropertySignature":return s.key===o?!!s.computed:!0}return!0}return r(i,"isReferenced$1"),n(i,"isReferenced"),As}r(tu,"requireIsReferenced");var xs={},Dl;function ru(){if(Dl)return xs;Dl=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"i");Object.defineProperty(xs,"__esModule",{value:!0}),xs.default=o;var i=ie();function o(s,a){return(0,i.isBlockStatement)(s)&&((0,i.isFunction)(a)||(0,i.isCatchClause)(a))?!1:(0,i.isPattern)(s)&&((0,i.isFunction)(a)||(0,i.isCatchClause)(a))?!0:(0,i.isScopable)(s)}return r(o,"isScope$1"),n(o,"isScope"),xs}r(ru,"requireIsScope");var gs={},hl;function nu(){if(hl)return gs;hl=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"t");Object.defineProperty(gs,"__esModule",{value:!0}),gs.default=o;var i=ie();function o(s){return(0,i.isImportDefaultSpecifier)(s)||(0,i.isIdentifier)(s.imported||s.exported,{name:"default"})}return r(o,"isSpecifierDefault$1"),n(o,"isSpecifierDefault"),gs}r(nu,"requireIsSpecifierDefault");var Is={},Nl;function au(){if(Nl)return Is;Nl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"t");Object.defineProperty(Is,"__esModule",{value:!0}),Is.default=s;var i=Ai();const o=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 s(a){return(0,i.default)(a)&&!o.has(a)}return r(s,"isValidES3Identifier$1"),n(s,"isValidES3Identifier"),Is}r(au,"requireIsValidES3Identifier");var Os={},Ll;function iu(){if(Ll)return Os;Ll=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"r");Object.defineProperty(Os,"__esModule",{value:!0}),Os.default=s;var i=ie(),o=Symbol.for("var used to be block scoped");function s(a){return(0,i.isVariableDeclaration)(a,{kind:"var"})&&!a[o]}return r(s,"isVar$1"),n(s,"isVar"),Os}r(iu,"requireIsVar");var Ds={},hs={},Cl;function su(){if(Cl)return hs;Cl=1;var T=Object.defineProperty,n=r((x,P)=>T(x,"name",{value:P,configurable:!0}),"d");Object.defineProperty(hs,"__esModule",{value:!0}),hs.default=f;var i=_s(),o=ie(),s=me(),a=Xl(),d=Ia();function f(x,P){const g=[];let I=!0;for(const A of x)if((0,o.isEmptyStatement)(A)||(I=!1),(0,o.isExpression)(A))g.push(A);else if((0,o.isExpressionStatement)(A))g.push(A.expression);else if((0,o.isVariableDeclaration)(A)){if(A.kind!=="var")return;for(const D of A.declarations){const C=(0,i.default)(D);for(const h of Object.keys(C))P.push({kind:A.kind,id:(0,d.default)(C[h])});D.init&&g.push((0,s.assignmentExpression)("=",D.id,D.init))}I=!0}else if((0,o.isIfStatement)(A)){const D=A.consequent?f([A.consequent],P):(0,a.buildUndefinedNode)(),C=A.alternate?f([A.alternate],P):(0,a.buildUndefinedNode)();if(!D||!C)return;g.push((0,s.conditionalExpression)(A.test,D,C))}else if((0,o.isBlockStatement)(A)){const D=f(A.body,P);if(!D)return;g.push(D)}else if((0,o.isEmptyStatement)(A))x.indexOf(A)===0&&(I=!0);else return;return I&&g.push((0,a.buildUndefinedNode)()),g.length===1?g[0]:(0,s.sequenceExpression)(g)}return r(f,"gatherSequenceExpressions$1"),n(f,"gatherSequenceExpressions"),hs}r(su,"requireGatherSequenceExpressions");var _l;function ou(){if(_l)return Ds;_l=1;var T=Object.defineProperty,n=r((s,a)=>T(s,"name",{value:a,configurable:!0}),"u");Object.defineProperty(Ds,"__esModule",{value:!0}),Ds.default=o;var i=su();function o(s,a){if(!(s!=null&&s.length))return;const d=[],f=(0,i.default)(s,d);if(f){for(const x of d)a.push(x);return f}}return r(o,"toSequenceExpression$1"),n(o,"toSequenceExpression"),Ds}r(ou,"requireToSequenceExpression");var Bl;function Xs(){return Bl||(Bl=1,(function(T){var n=Object.defineProperty,i=r((j,Ye)=>n(j,"name",{value:Ye,configurable:!0}),"r");Object.defineProperty(T,"__esModule",{value:!0});var o={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(T,"__internal__deprecationWarning",{enumerable:!0,get:i(function(){return Ve.default},"get")}),Object.defineProperty(T,"addComment",{enumerable:!0,get:i(function(){return _.default},"get")}),Object.defineProperty(T,"addComments",{enumerable:!0,get:i(function(){return B.default},"get")}),Object.defineProperty(T,"appendToMemberExpression",{enumerable:!0,get:i(function(){return J.default},"get")}),Object.defineProperty(T,"assertNode",{enumerable:!0,get:i(function(){return f.default},"get")}),Object.defineProperty(T,"buildMatchMemberExpression",{enumerable:!0,get:i(function(){return qe.default},"get")}),Object.defineProperty(T,"clone",{enumerable:!0,get:i(function(){return h.default},"get")}),Object.defineProperty(T,"cloneDeep",{enumerable:!0,get:i(function(){return K.default},"get")}),Object.defineProperty(T,"cloneDeepWithoutLoc",{enumerable:!0,get:i(function(){return N.default},"get")}),Object.defineProperty(T,"cloneNode",{enumerable:!0,get:i(function(){return C.default},"get")}),Object.defineProperty(T,"cloneWithoutLoc",{enumerable:!0,get:i(function(){return M.default},"get")}),Object.defineProperty(T,"createFlowUnionType",{enumerable:!0,get:i(function(){return g.default},"get")}),Object.defineProperty(T,"createTSUnionType",{enumerable:!0,get:i(function(){return I.default},"get")}),Object.defineProperty(T,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:i(function(){return P.default},"get")}),Object.defineProperty(T,"createUnionTypeAnnotation",{enumerable:!0,get:i(function(){return g.default},"get")}),Object.defineProperty(T,"ensureBlock",{enumerable:!0,get:i(function(){return ae.default},"get")}),Object.defineProperty(T,"getAssignmentIdentifiers",{enumerable:!0,get:i(function(){return pe.default},"get")}),Object.defineProperty(T,"getBindingIdentifiers",{enumerable:!0,get:i(function(){return be.default},"get")}),Object.defineProperty(T,"getFunctionName",{enumerable:!0,get:i(function(){return Pe.default},"get")}),Object.defineProperty(T,"getOuterBindingIdentifiers",{enumerable:!0,get:i(function(){return ve.default},"get")}),Object.defineProperty(T,"inheritInnerComments",{enumerable:!0,get:i(function(){return F.default},"get")}),Object.defineProperty(T,"inheritLeadingComments",{enumerable:!0,get:i(function(){return Y.default},"get")}),Object.defineProperty(T,"inheritTrailingComments",{enumerable:!0,get:i(function(){return Z.default},"get")}),Object.defineProperty(T,"inherits",{enumerable:!0,get:i(function(){return $.default},"get")}),Object.defineProperty(T,"inheritsComments",{enumerable:!0,get:i(function(){return H.default},"get")}),Object.defineProperty(T,"is",{enumerable:!0,get:i(function(){return ge.default},"get")}),Object.defineProperty(T,"isBinding",{enumerable:!0,get:i(function(){return Ie.default},"get")}),Object.defineProperty(T,"isBlockScoped",{enumerable:!0,get:i(function(){return Oe.default},"get")}),Object.defineProperty(T,"isImmutable",{enumerable:!0,get:i(function(){return De.default},"get")}),Object.defineProperty(T,"isLet",{enumerable:!0,get:i(function(){return he.default},"get")}),Object.defineProperty(T,"isNode",{enumerable:!0,get:i(function(){return Ne.default},"get")}),Object.defineProperty(T,"isNodesEquivalent",{enumerable:!0,get:i(function(){return Le.default},"get")}),Object.defineProperty(T,"isPlaceholderType",{enumerable:!0,get:i(function(){return Ce.default},"get")}),Object.defineProperty(T,"isReferenced",{enumerable:!0,get:i(function(){return _e.default},"get")}),Object.defineProperty(T,"isScope",{enumerable:!0,get:i(function(){return Be.default},"get")}),Object.defineProperty(T,"isSpecifierDefault",{enumerable:!0,get:i(function(){return Me.default},"get")}),Object.defineProperty(T,"isType",{enumerable:!0,get:i(function(){return je.default},"get")}),Object.defineProperty(T,"isValidES3Identifier",{enumerable:!0,get:i(function(){return we.default},"get")}),Object.defineProperty(T,"isValidIdentifier",{enumerable:!0,get:i(function(){return Fe.default},"get")}),Object.defineProperty(T,"isVar",{enumerable:!0,get:i(function(){return Re.default},"get")}),Object.defineProperty(T,"matchesPattern",{enumerable:!0,get:i(function(){return ke.default},"get")}),Object.defineProperty(T,"prependToMemberExpression",{enumerable:!0,get:i(function(){return G.default},"get")}),T.react=void 0,Object.defineProperty(T,"removeComments",{enumerable:!0,get:i(function(){return ee.default},"get")}),Object.defineProperty(T,"removeProperties",{enumerable:!0,get:i(function(){return W.default},"get")}),Object.defineProperty(T,"removePropertiesDeep",{enumerable:!0,get:i(function(){return Q.default},"get")}),Object.defineProperty(T,"removeTypeDuplicates",{enumerable:!0,get:i(function(){return le.default},"get")}),Object.defineProperty(T,"shallowEqual",{enumerable:!0,get:i(function(){return xe.default},"get")}),Object.defineProperty(T,"toBindingIdentifierName",{enumerable:!0,get:i(function(){return re.default},"get")}),Object.defineProperty(T,"toBlock",{enumerable:!0,get:i(function(){return de.default},"get")}),Object.defineProperty(T,"toComputedKey",{enumerable:!0,get:i(function(){return oe.default},"get")}),Object.defineProperty(T,"toExpression",{enumerable:!0,get:i(function(){return fe.default},"get")}),Object.defineProperty(T,"toIdentifier",{enumerable:!0,get:i(function(){return ce.default},"get")}),Object.defineProperty(T,"toKeyAlias",{enumerable:!0,get:i(function(){return w.default},"get")}),Object.defineProperty(T,"toStatement",{enumerable:!0,get:i(function(){return k.default},"get")}),Object.defineProperty(T,"traverse",{enumerable:!0,get:i(function(){return Te.default},"get")}),Object.defineProperty(T,"traverseFast",{enumerable:!0,get:i(function(){return Ae.default},"get")}),Object.defineProperty(T,"validate",{enumerable:!0,get:i(function(){return Ke.default},"get")}),Object.defineProperty(T,"valueToNode",{enumerable:!0,get:i(function(){return V.default},"get")});var s=up(),a=cp(),d=xp(),f=gp(),x=Ip();Object.keys(x).forEach(function(j){j==="default"||j==="__esModule"||Object.prototype.hasOwnProperty.call(o,j)||j in T&&T[j]===x[j]||Object.defineProperty(T,j,{enumerable:!0,get:i(function(){return x[j]},"get")})});var P=Op(),g=Dp(),I=Np(),A=Xl();Object.keys(A).forEach(function(j){j==="default"||j==="__esModule"||Object.prototype.hasOwnProperty.call(o,j)||j in T&&T[j]===A[j]||Object.defineProperty(T,j,{enumerable:!0,get:i(function(){return A[j]},"get")})});var D=me();Object.keys(D).forEach(function(j){j==="default"||j==="__esModule"||Object.prototype.hasOwnProperty.call(o,j)||j in T&&T[j]===D[j]||Object.defineProperty(T,j,{enumerable:!0,get:i(function(){return D[j]},"get")})});var C=Ia(),h=Lp(),K=Cp(),N=_p(),M=Bp(),_=Mp(),B=Yl(),F=Jl(),Y=Ul(),H=Gl(),Z=Wl(),ee=jp(),te=wp();Object.keys(te).forEach(function(j){j==="default"||j==="__esModule"||Object.prototype.hasOwnProperty.call(o,j)||j in T&&T[j]===te[j]||Object.defineProperty(T,j,{enumerable:!0,get:i(function(){return te[j]},"get")})});var ue=xi();Object.keys(ue).forEach(function(j){j==="default"||j==="__esModule"||Object.prototype.hasOwnProperty.call(o,j)||j in T&&T[j]===ue[j]||Object.defineProperty(T,j,{enumerable:!0,get:i(function(){return ue[j]},"get")})});var ae=Fp(),re=Rp(),de=zl(),oe=kp(),fe=Kp(),ce=Ql(),w=qp(),k=Vp(),V=Xp(),q=Ee();Object.keys(q).forEach(function(j){j==="default"||j==="__esModule"||Object.prototype.hasOwnProperty.call(o,j)||j in T&&T[j]===q[j]||Object.defineProperty(T,j,{enumerable:!0,get:i(function(){return q[j]},"get")})});var J=Yp(),$=Jp(),G=Up(),W=Hl(),Q=Zl(),le=Vl(),pe=Wp(),be=_s(),ve=Gp(),Pe=zp(),Te=Qp();Object.keys(Te).forEach(function(j){j==="default"||j==="__esModule"||Object.prototype.hasOwnProperty.call(o,j)||j in T&&T[j]===Te[j]||Object.defineProperty(T,j,{enumerable:!0,get:i(function(){return Te[j]},"get")})});var Ae=$l(),xe=Rs(),ge=Pi(),Ie=$p(),Oe=Hp(),De=Zp(),he=ep(),Ne=ql(),Le=eu(),Ce=Rl(),_e=tu(),Be=ru(),Me=nu(),je=ks(),we=au(),Fe=Ai(),Re=iu(),ke=wl(),Ke=qs(),qe=Fl(),Se=ie();Object.keys(Se).forEach(function(j){j==="default"||j==="__esModule"||Object.prototype.hasOwnProperty.call(o,j)||j in T&&T[j]===Se[j]||Object.defineProperty(T,j,{enumerable:!0,get:i(function(){return Se[j]},"get")})});var Ve=vi(),Xe=ou();T.react={isReactComponent:s.default,isCompatTag:a.default,buildChildren:d.default},T.toSequenceExpression=Xe.default,process.env.BABEL_TYPES_8_BREAKING&&console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")})(Bs)),Bs}r(Xs,"requireLib");var Fs=Xs(),lu=Object.defineProperty,Ys=r((T,n)=>lu(T,"name",{value:n,configurable:!0}),"r");const pu=/[.+^${}()|[\]\\]/g,uu=Ys(T=>T.replaceAll(pu,String.raw`\$&`),"escapeRegExp"),cu=Ys(T=>{const n=T.split("**").map(i=>i.split("*").map(o=>uu(o)).join("[^/]*")).join(".*");return new RegExp(n)},"globToRegex"),tp=Ys((T,n)=>T.some(i=>i instanceof RegExp?i.test(n):cu(i).test(n)),"matcher");var du=Object.defineProperty,xa=r((T,n)=>du(T,"name",{value:n,configurable:!0}),"c");const rp=Ws.default??Ws,yu=Us.default??Us,Ml="data-vdt-source",Ns=xa(T=>{let n;const i=xa(o=>{const s=o[0];s&&(s.type==="Identifier"&&(n=s.name),s.type==="ObjectPattern"&&s.properties.forEach(a=>{a.type==="RestElement"&&a.argument.type==="Identifier"&&(n=a.argument.name)}))},"extractFromParams");return T.type==="FunctionExpression"||T.type==="ArrowFunctionExpression"||T.type==="FunctionDeclaration"?(i(T.params),n):(T.type==="VariableDeclarator"&&(T.init?.type==="ArrowFunctionExpression"||T.init?.type==="FunctionExpression")&&i(T.init.params),n)},"getPropsNameFromFunctionDeclaration"),Ls=xa(T=>T.type==="JSXIdentifier"?T.name:T.type==="JSXMemberExpression"?`${Ls(T.object)}.${Ls(T.property)}`:`${T.namespace.name}:${T.name.name}`,"getNameOfElement"),fu=xa(T=>{const n=new Map,i=new Map;try{const o=jl(T,{plugins:["jsx","typescript"],sourceType:"module"});rp(o,{JSXOpeningElement(s){const a=Ls(s.node.name),d=i.get(a)??0;i.set(a,d+1),s.node.loc&&n.set(`${a}:${d}`,{col:s.node.loc.start.column,line:s.node.loc.start.line})}})}catch{}return n},"buildPositionMap"),Tu=xa((T,n,i,o,s,a)=>{const{loc:d}=T.node;if(!d)return!1;const f=Ls(T.node.name);let x;if(s&&a){const A=a.get(f)??0;a.set(f,A+1),x=s.get(`${f}:${A}`)}if(f==="Fragment"||f==="React.Fragment"||f==="html"||f==="head"||f==="body"||tp(o,f))return!1;const P=T.node.attributes.some(A=>A.type==="JSXAttribute"&&A.name.type==="JSXIdentifier"&&A.name.name===Ml);if(T.node.attributes.some(A=>A.type==="JSXSpreadAttribute"&&A.argument.type==="Identifier"&&A.argument.name===n)||P)return!1;const g=x?.line??d.start.line,I=x?.col??d.start.column;return T.node.attributes.push(Fs.jsxAttribute(Fs.jsxIdentifier(Ml),Fs.stringLiteral(`${i}:${g}:${I+1}`))),!0},"transformJSX"),mu=xa((T,n,i,o)=>{let s=!1;const a=o?new Map:void 0,d=xa(f=>x=>{Tu(x,f,n,i,o,a)&&(s=!0)},"visitJSX");return rp(T,{ArrowFunctionExpression(f){f.traverse({JSXOpeningElement:d(Ns(f.node))})},FunctionDeclaration(f){f.traverse({JSXOpeningElement:d(Ns(f.node))})},FunctionExpression(f){f.traverse({JSXOpeningElement:d(Ns(f.node))})},VariableDeclaration(f){const x=f.node.declarations.find(P=>P.init?.type==="ArrowFunctionExpression"||P.init?.type==="FunctionExpression");x&&f.traverse({JSXOpeningElement:d(Ns(x))})}}),s},"transform"),Au=xa((T,n,i={},o)=>{const[s]=n.split("?"),a=s.replace(`${ap(process.cwd())}/`,"");if(!tp(i.files??[],a))try{const d=jl(T,{plugins:["jsx","typescript"],sourceType:"module"}),f=o&&o!==T?fu(o):void 0;return mu(d,a,i.components??[],f)?yu(d,{filename:n,retainLines:!0,sourceFileName:s,sourceMaps:!0}):void 0}catch{return}},"addSourceToJsx");export{Ml as SOURCE_ATTR,Au as addSourceToJsx};
|