{"version":3,"file":"parseHookNames.chunk.js","mappings":"+NAeO,SAASA,EACdC,EACAC,GAEA,OAAc,MAAVA,SAGuBC,IAAvBF,EAAUG,SAC2BH,EACjBI,SAASC,MAAKC,GAC3BP,EAAwBO,EAAQC,IAAKN,KAIfD,EACjBQ,QAAQH,MACtBI,GAAW,wBAANA,GAA+BR,EAAOS,SAASD,KAEvD,CCiCD,MAAME,EAAgB,CAACC,MAAO,eAExBC,EAAoB,IAoD1B,SAASC,EAAmBC,GAC1B,GAAoB,mBAATC,KACT,OAAOA,KAAKD,GACP,GACa,oBAAXE,QACI,OAAXA,QACuB,mBAAhBA,OAAOC,KAEd,OAAOD,OAAOC,KAAKH,EAAS,UAE5B,MAAMI,MAAM,8BAEf,CAuLD,SAASC,EACPC,EACAC,EAAmB,aAEnB,OAAOC,EAAAA,EAAAA,IAA8B,GAAED,MAAaD,OAASG,GACpD,IAAIC,SAAQ,CAACC,EAASC,KAC3BC,MAAMP,EAAKV,GAAekB,MACxBC,IACMA,EAASC,GACXD,EACGE,OACAH,MAAKG,IACJR,IACAE,EAAQM,EAAR,IAEDC,OAAMC,IACDC,EAAAA,GACFC,QAAQC,IACL,GAAEf,oCAA2CD,MAGlDG,IACAG,EAAO,KAAP,KAGAQ,EAAAA,GACFC,QAAQC,IAAK,GAAEf,iCAAwCD,MAEzDG,IACAG,EAAO,MACR,IAEHO,IACMC,EAAAA,GACFC,QAAQC,IAAK,GAAEf,6BAAoCY,EAAMI,WAE3Dd,IACAG,EAAO,KAAP,GA/BJ,KAoCL,CAoBM,SAASY,EAAiBC,GAC/B,MAAMC,EAAuB,GAS7B,OARAC,EAAAA,EAAAA,IAAyB,sBAAsB,KAC7CC,EAAqBH,EAAWC,EAAhC,IAGEN,EAAAA,GACFC,QAAQC,IAAI,gCAAiCI,GAGxCA,CACR,CAED,SAASE,EACPH,EACAC,GAEA,IAAK,IAAIG,EAAI,EAAGA,EAAIJ,EAAUK,OAAQD,IAAK,CACzC,MAAME,EAAON,EAAUI,GAEnBG,EAAqBD,GAEnBX,EAAAA,GACFC,QAAQC,IAAI,+CAAgDS,IAMhEL,EAAUO,KAAKF,GAEXA,EAAKG,SAASJ,OAAS,GACzBF,EAAqBG,EAAKG,SAAUR,GAEvC,CACF,CA0CD,SAASM,EAAqBD,GAC5B,MAAO,CAAC,SAAU,mBAAoB,eAAgB,cAAcI,SAClEJ,EAAKK,KAER,CCvbD,MAAMC,EACJC,MAEK,SAASC,EACdb,EACAc,GAEA,OAAOH,EAAyBE,uBAC9Bb,EACAc,EAEH,CAEM,MAAMC,EAAsBJ,EAAyBI,oBAEtDC,EAAuB,IAAIC,IAE1BC,eAAeC,EACpBpB,EACAqB,GAEA,OAAOC,EAAAA,EAAAA,IAA0B,kBAAkBH,UACjD,MAAMlB,EAAYF,EAAiBC,GACnC,OAAyB,IAArBC,EAAUI,OAELY,EAUFH,EACLb,QDyCCkB,eACLlB,EACAoB,GAEA,OAAOC,EAAAA,EAAAA,IAA0B,2BAA2BH,UAC1D,MAAMJ,GAAqCb,EAAAA,EAAAA,IACzC,mCACA,IAuTN,SACED,GAGA,MAAMc,EACJ,IAAIG,IACN,IAAK,IAAId,EAAI,EAAGA,EAAIH,EAAUI,OAAQD,IAAK,CACzC,MAEMmB,EAFOtB,EAAUG,GAECmB,WACxB,GAAkB,MAAdA,EAGF,MAAM5C,MAAM,wCAGd,MAAM6C,GAAcC,EAAAA,EAAAA,IAAyBF,GAC7C,IAAKR,EAAmCW,IAAIF,GAAc,CAExD,MAEMG,EAA+C,CACnDJ,aACAK,kBAAmB,KACnBC,iBALyBN,EAAWO,SAMpCC,cAAe,KACfC,aAAc,MAGhBjB,EAAmCkB,IACjCT,EACAG,EAEH,CACF,CAED,OAAOZ,CACR,CA5VWmB,CAAgCjC,KAaxC,aAVMqB,EAAAA,EAAAA,IAA0B,qBAAqB,IAkWzD,SACEP,EACAM,GAGA,MAAMc,EAAuB,IAAIjB,IAE3BkB,EAAiB,GA8CvB,OA7CArB,EAAmCsB,SAAQV,IACzC,MAAM,iBAACE,GAAoBF,EAE3B,IAAIW,EAAoB1D,EACI,MAAxByC,IAGFiB,EAAoBzD,IACXyC,EAAAA,EAAAA,IACJ,yBAAwBzC,OACzB,IACWwC,EAAkDxC,MAMnE,MAAM0D,EACJJ,EAAqBK,IAAIX,IACzBS,EAAkBT,GAAkBxC,MAAKuC,IAGvC,GAAIA,EAAkBvB,OAAShC,EAC7B,MAAMM,MAAM,kCAWd,OARIgB,EAAAA,IACFC,QAAQ6C,eACL,uCAAsCZ,MAEzCjC,QAAQC,IAAI+B,GACZhC,QAAQ8C,YAGHd,CAAP,IAEJO,EAAqBF,IAAIJ,EAAkBU,GAE3CH,EAAe5B,KACb+B,EAAalD,MAAKuC,IAChBD,EAAsBC,kBAAoBA,CAA1C,IAFJ,IAOK3C,QAAQ0D,IAAIP,EACpB,CAvZKQ,CAAgB7B,EAAoCM,WAGhDC,EAAAA,EAAAA,IAA0B,iCAAiC,IAwBrE,SACEP,GAGA,MAAMoB,EAAuB,IAAIjB,IAE7BvB,EAAAA,GACFC,QAAQC,IACN,qCACAkB,EAAmC8B,KACnC,eAIJ,MAAMT,EAAiB,GAoKvB,OAnKArB,EAAmCsB,SAAQV,IACzC,MAAMmB,EAAiB,kCACjBlB,EACFD,EAAsBC,kBAQ1B,IAAImB,GAAwB7C,EAAAA,EAAAA,IAC1B,0CACA,IAAM4C,EAAeE,KAAKpB,KAG5B,GAA6B,MAAzBmB,EACEpD,EAAAA,GACFC,QAAQC,IAAI,yDAIT,CACL,MAAMoD,EAAwB,GAC9B,KAAgC,MAAzBF,GAA+B,CACpC,MAAM,iBAAClB,GAAoBF,EACrBuB,EAAmBH,EAAsB,GAE/C,GAD2BG,EAAiBC,QAAQ,YAAc,EAEhE,IAOE,MAAMC,EAAYF,EAAiBG,MACjC,6BACsB,GAClBC,GAAUpD,EAAAA,EAAAA,IACd,wBACA,IAAM5B,EAAmB8E,KAGrBrB,GAAgB7B,EAAAA,EAAAA,IACpB,uBACA,IAAMqD,KAAKC,MAAMF,KAanB,GAVI3D,EAAAA,IACFC,QAAQ6C,eACN,mDAEF7C,QAAQC,IAAIkC,GACZnC,QAAQ8C,YAKNnF,EAAwBwE,EAAeF,GAAmB,CAC5DF,EAAsBI,cAAgBA,EAOtCJ,EAAsBC,kBAAoB,KAE1C,KACD,CACF,CAAC,MAAOlC,GAIR,MAEDuD,EAAsBzC,KAAK0C,GAI7BH,GAAwB7C,EAAAA,EAAAA,IACtB,0CACA,IAAM4C,EAAeE,KAAKpB,IAE7B,CAE2C,OAAxCD,EAAsBI,eACxBkB,EAAsBZ,SAAQ,CAACa,EAAkBO,KAC/C,GAAIA,IAAUR,EAAsB5C,OAAS,EAQ3C,YAHAT,QAAQ8D,KACL,4EAA2ER,MAKhF,MAAM,iBAACrB,GAAoBF,EAC3B,IAAI9C,EAAMqE,EACLrE,EAAI8E,WAAW,SAAY9E,EAAI8E,WAAW,OAGvB,IADD9B,EAAiB+B,YAAY,OAMhD/E,EAAO,GAJSgD,EAAiBgC,MAC/B,EACAhC,EAAiB+B,YAAY,SAEX/E,KAIxB8C,EAAsBK,aAAenD,EAErC,MAAM0D,EACJJ,EAAqBK,IAAI3D,IACzBD,EAAUC,GAAKQ,MACbyE,IACwB5D,EAAAA,EAAAA,IACpB,iCACA,IAAMqD,KAAKC,MAAMM,OASrBpE,GAAS,OAGTC,EAAAA,IACGwC,EAAqBT,IAAI7C,IAC5Be,QAAQC,IACL,sDAAqDhB,OAK5DsD,EAAqBF,IAAIpD,EAAK0D,GAE9BH,EAAe5B,KACb+B,EAAalD,MAAK0C,IACM,OAAlBA,IACFJ,EAAsBI,cAAgBA,EAOtCJ,EAAsBC,kBAAoB,KAC3C,IAXL,GAgBL,KAGI3C,QAAQ0D,IAAIP,EACpB,CA1MK2B,CAA4BhD,KAKvBA,CAAP,GAEH,CCtEoDiD,CAC/C/D,EACAoB,GAIF,GAKH,C,iBC1DG,IAAI4C,EAAa,EAAQ,MACrBC,EAAU,CAAC,yBAAyB,uBACxCC,EAAOC,QAAU,WAChB,IAAIC,EAAI,IAAIC,OAAOC,IAAIC,gBAAgB,IAAIC,KAAK,CAAC,guosCAA8sluC,CAAE9D,KAAM,qBAIvwluC,OAHA4D,IAAIG,gBAAgBH,IAAIC,gBAAgB,IAAIC,KAAK,CAAC,iuosCAClDR,EAAWI,EAAGH,GAEPG,CACR,C","sources":["webpack://react-devtools-core/../react-devtools-shared/src/hooks/SourceMapUtils.js","webpack://react-devtools-core/../react-devtools-shared/src/hooks/parseHookNames/loadSourceAndMetadata.js","webpack://react-devtools-core/../react-devtools-shared/src/hooks/parseHookNames/index.js","webpack://react-devtools-core/../react-devtools-shared/src/hooks/parseHookNames/parseSourceAndMetadata.worker.js"],"sourcesContent":["/*\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n */\n\nimport type {\n BasicSourceMap,\n MixedSourceMap,\n IndexSourceMap,\n} from './SourceMapTypes';\n\nexport function sourceMapIncludesSource(\n sourcemap: MixedSourceMap,\n source: ?string,\n): boolean {\n if (source == null) {\n return false;\n }\n if (sourcemap.mappings === undefined) {\n const indexSourceMap: IndexSourceMap = sourcemap;\n return indexSourceMap.sections.some(section => {\n return sourceMapIncludesSource(section.map, source);\n });\n }\n\n const basicMap: BasicSourceMap = sourcemap;\n return basicMap.sources.some(\n s => s === 'Inline Babel script' || source.endsWith(s),\n );\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n */\n\n// Parsing source and source maps is done in a Web Worker\n// because parsing is CPU intensive and should not block the UI thread.\n//\n// Fetching source and source map files is intentionally done on the UI thread\n// so that loaded source files can reuse the browser's Network cache.\n// Requests made from within an extension do not share the page's Network cache,\n// but messages can be sent from the UI thread to the content script\n// which can make a request from the page's context (with caching).\n//\n// Some overhead may be incurred sharing (serializing) the loaded data between contexts,\n// but less than fetching the file to begin with,\n// and in some cases we can avoid serializing the source code at all\n// (e.g. when we are in an environment that supports our custom metadata format).\n//\n// The overall flow of this file is such:\n// 1. Find the Set of source files defining the hooks and load them all.\n// Then for each source file, do the following:\n//\n// a. Search loaded source file to see if a source map is available.\n// If so, load that file and pass it to a Worker for parsing.\n// The source map is used to retrieve the original source,\n// which is then also parsed in the Worker to infer hook names.\n// This is less ideal because parsing a full source map is slower,\n// since we need to evaluate the mappings in order to map the runtime code to the original source,\n// but at least the eventual source that we parse to an AST is small/fast.\n//\n// b. If no source map, pass the full source to a Worker for parsing.\n// Use the source to infer hook names.\n// This is the least optimal route as parsing the full source is very CPU intensive.\n//\n// In the future, we may add an additional optimization the above sequence.\n// This check would come before the source map check:\n//\n// a. Search loaded source file to see if a custom React metadata file is available.\n// If so, load that file and pass it to a Worker for parsing and extracting.\n// This is the fastest option since our custom metadata file is much smaller than a full source map,\n// and there is no need to convert runtime code to the original source.\n\nimport {__DEBUG__} from 'react-devtools-shared/src/constants';\nimport {getHookSourceLocationKey} from 'react-devtools-shared/src/hookNamesCache';\nimport {sourceMapIncludesSource} from '../SourceMapUtils';\nimport {\n withAsyncPerfMeasurements,\n withCallbackPerfMeasurements,\n withSyncPerfMeasurements,\n} from 'react-devtools-shared/src/PerformanceLoggingUtils';\n\nimport type {\n HooksNode,\n HookSource,\n HooksTree,\n} from 'react-debug-tools/src/ReactDebugHooks';\nimport type {MixedSourceMap} from '../SourceMapTypes';\nimport type {FetchFileWithCaching} from 'react-devtools-shared/src/devtools/views/Components/FetchFileWithCachingContext';\n\n// Prefer a cached albeit stale response to reduce download time.\n// We wouldn't want to load/parse a newer version of the source (even if one existed).\nconst FETCH_OPTIONS = {cache: 'force-cache'};\n\nconst MAX_SOURCE_LENGTH = 100_000_000;\n\nexport type HookSourceAndMetadata = {\n // Generated by react-debug-tools.\n hookSource: HookSource,\n\n // Compiled code (React components or custom hooks) containing primitive hook calls.\n runtimeSourceCode: string | null,\n\n // Same as hookSource.fileName but guaranteed to be non-null.\n runtimeSourceURL: string,\n\n // Raw source map JSON.\n // Either decoded from an inline source map or loaded from an externa source map file.\n // Sources without source maps won't have this.\n sourceMapJSON: MixedSourceMap | null,\n\n // External URL of source map.\n // Sources without source maps (or with inline source maps) won't have this.\n sourceMapURL: string | null,\n};\n\nexport type LocationKeyToHookSourceAndMetadata = Map<\n string,\n HookSourceAndMetadata,\n>;\nexport type HooksList = Array;\n\nexport async function loadSourceAndMetadata(\n hooksList: HooksList,\n fetchFileWithCaching: FetchFileWithCaching | null,\n): Promise {\n return withAsyncPerfMeasurements('loadSourceAndMetadata()', async () => {\n const locationKeyToHookSourceAndMetadata = withSyncPerfMeasurements(\n 'initializeHookSourceAndMetadata',\n () => initializeHookSourceAndMetadata(hooksList),\n );\n\n await withAsyncPerfMeasurements('loadSourceFiles()', () =>\n loadSourceFiles(locationKeyToHookSourceAndMetadata, fetchFileWithCaching),\n );\n\n await withAsyncPerfMeasurements('extractAndLoadSourceMapJSON()', () =>\n extractAndLoadSourceMapJSON(locationKeyToHookSourceAndMetadata),\n );\n\n // At this point, we've loaded JS source (text) and source map (JSON).\n // The remaining works (parsing these) is CPU intensive and should be done in a worker.\n return locationKeyToHookSourceAndMetadata;\n });\n}\n\nfunction decodeBase64String(encoded: string): Object {\n if (typeof atob === 'function') {\n return atob(encoded);\n } else if (\n typeof Buffer !== 'undefined' &&\n Buffer !== null &&\n typeof Buffer.from === 'function'\n ) {\n return Buffer.from(encoded, 'base64');\n } else {\n throw Error('Cannot decode base64 string');\n }\n}\n\nfunction extractAndLoadSourceMapJSON(\n locationKeyToHookSourceAndMetadata: LocationKeyToHookSourceAndMetadata,\n): Promise(p: Promise | T) => T, Promise>>> {\n // Deduplicate fetches, since there can be multiple location keys per source map.\n const dedupedFetchPromises = new Map>();\n\n if (__DEBUG__) {\n console.log(\n 'extractAndLoadSourceMapJSON() load',\n locationKeyToHookSourceAndMetadata.size,\n 'source maps',\n );\n }\n\n const setterPromises = [];\n locationKeyToHookSourceAndMetadata.forEach(hookSourceAndMetadata => {\n const sourceMapRegex = / ?sourceMappingURL=([^\\s'\"]+)/gm;\n const runtimeSourceCode =\n ((hookSourceAndMetadata.runtimeSourceCode: any): string);\n\n // TODO (named hooks) Search for our custom metadata first.\n // If it's found, we should use it rather than source maps.\n\n // TODO (named hooks) If this RegExp search is slow, we could try breaking it up\n // first using an indexOf(' sourceMappingURL=') to find the start of the comment\n // (probably at the end of the file) and then running the RegExp on the remaining substring.\n let sourceMappingURLMatch = withSyncPerfMeasurements(\n 'sourceMapRegex.exec(runtimeSourceCode)',\n () => sourceMapRegex.exec(runtimeSourceCode),\n );\n\n if (sourceMappingURLMatch == null) {\n if (__DEBUG__) {\n console.log('extractAndLoadSourceMapJSON() No source map found');\n }\n\n // Maybe file has not been transformed; we'll try to parse it as-is in parseSourceAST().\n } else {\n const externalSourceMapURLs = [];\n while (sourceMappingURLMatch != null) {\n const {runtimeSourceURL} = hookSourceAndMetadata;\n const sourceMappingURL = sourceMappingURLMatch[1];\n const hasInlineSourceMap = sourceMappingURL.indexOf('base64,') >= 0;\n if (hasInlineSourceMap) {\n try {\n // TODO (named hooks) deduplicate parsing in this branch (similar to fetching in the other branch)\n // since there can be multiple location keys per source map.\n\n // Web apps like Code Sandbox embed multiple inline source maps.\n // In this case, we need to loop through and find the right one.\n // We may also need to trim any part of this string that isn't based64 encoded data.\n const trimmed = ((sourceMappingURL.match(\n /base64,([a-zA-Z0-9+\\/=]+)/,\n ): any): Array)[1];\n const decoded = withSyncPerfMeasurements(\n 'decodeBase64String()',\n () => decodeBase64String(trimmed),\n );\n\n const sourceMapJSON = withSyncPerfMeasurements(\n 'JSON.parse(decoded)',\n () => JSON.parse(decoded),\n );\n\n if (__DEBUG__) {\n console.groupCollapsed(\n 'extractAndLoadSourceMapJSON() Inline source map',\n );\n console.log(sourceMapJSON);\n console.groupEnd();\n }\n\n // Hook source might be a URL like \"https://4syus.csb.app/src/App.js\"\n // Parsed source map might be a partial path like \"src/App.js\"\n if (sourceMapIncludesSource(sourceMapJSON, runtimeSourceURL)) {\n hookSourceAndMetadata.sourceMapJSON = sourceMapJSON;\n\n // OPTIMIZATION If we've located a source map for this source,\n // we'll use it to retrieve the original source (to extract hook names).\n // We only fall back to parsing the full source code is when there's no source map.\n // The source is (potentially) very large,\n // So we can avoid the overhead of serializing it unnecessarily.\n hookSourceAndMetadata.runtimeSourceCode = null;\n\n break;\n }\n } catch (error) {\n // We've likely encountered a string in the source code that looks like a source map but isn't.\n // Maybe the source code contains a \"sourceMappingURL\" comment or soething similar.\n // In either case, let's skip this and keep looking.\n }\n } else {\n externalSourceMapURLs.push(sourceMappingURL);\n }\n\n // If the first source map we found wasn't a match, check for more.\n sourceMappingURLMatch = withSyncPerfMeasurements(\n 'sourceMapRegex.exec(runtimeSourceCode)',\n () => sourceMapRegex.exec(runtimeSourceCode),\n );\n }\n\n if (hookSourceAndMetadata.sourceMapJSON === null) {\n externalSourceMapURLs.forEach((sourceMappingURL, index) => {\n if (index !== externalSourceMapURLs.length - 1) {\n // Files with external source maps should only have a single source map.\n // More than one result might indicate an edge case,\n // like a string in the source code that matched our \"sourceMappingURL\" regex.\n // We should just skip over cases like this.\n console.warn(\n `More than one external source map detected in the source file; skipping \"${sourceMappingURL}\"`,\n );\n return;\n }\n\n const {runtimeSourceURL} = hookSourceAndMetadata;\n let url = sourceMappingURL;\n if (!url.startsWith('http') && !url.startsWith('/')) {\n // Resolve paths relative to the location of the file name\n const lastSlashIdx = runtimeSourceURL.lastIndexOf('/');\n if (lastSlashIdx !== -1) {\n const baseURL = runtimeSourceURL.slice(\n 0,\n runtimeSourceURL.lastIndexOf('/'),\n );\n url = `${baseURL}/${url}`;\n }\n }\n\n hookSourceAndMetadata.sourceMapURL = url;\n\n const fetchPromise =\n dedupedFetchPromises.get(url) ||\n fetchFile(url).then(\n sourceMapContents => {\n const sourceMapJSON = withSyncPerfMeasurements(\n 'JSON.parse(sourceMapContents)',\n () => JSON.parse(sourceMapContents),\n );\n\n return sourceMapJSON;\n },\n\n // In this case, we fall back to the assumption that the source has no source map.\n // This might indicate an (unlikely) edge case that had no source map,\n // but contained the string \"sourceMappingURL\".\n error => null,\n );\n\n if (__DEBUG__) {\n if (!dedupedFetchPromises.has(url)) {\n console.log(\n `extractAndLoadSourceMapJSON() External source map \"${url}\"`,\n );\n }\n }\n\n dedupedFetchPromises.set(url, fetchPromise);\n\n setterPromises.push(\n fetchPromise.then(sourceMapJSON => {\n if (sourceMapJSON !== null) {\n hookSourceAndMetadata.sourceMapJSON = sourceMapJSON;\n\n // OPTIMIZATION If we've located a source map for this source,\n // we'll use it to retrieve the original source (to extract hook names).\n // We only fall back to parsing the full source code is when there's no source map.\n // The source is (potentially) very large,\n // So we can avoid the overhead of serializing it unnecessarily.\n hookSourceAndMetadata.runtimeSourceCode = null;\n }\n }),\n );\n });\n }\n }\n });\n\n return Promise.all(setterPromises);\n}\n\nfunction fetchFile(\n url: string,\n markName: string = 'fetchFile',\n): Promise {\n return withCallbackPerfMeasurements(`${markName}(\"${url}\")`, done => {\n return new Promise((resolve, reject) => {\n fetch(url, FETCH_OPTIONS).then(\n response => {\n if (response.ok) {\n response\n .text()\n .then(text => {\n done();\n resolve(text);\n })\n .catch(error => {\n if (__DEBUG__) {\n console.log(\n `${markName}() Could not read text for url \"${url}\"`,\n );\n }\n done();\n reject(null);\n });\n } else {\n if (__DEBUG__) {\n console.log(`${markName}() Got bad response for url \"${url}\"`);\n }\n done();\n reject(null);\n }\n },\n error => {\n if (__DEBUG__) {\n console.log(`${markName}() Could not fetch file: ${error.message}`);\n }\n done();\n reject(null);\n },\n );\n });\n });\n}\n\nexport function hasNamedHooks(hooksTree: HooksTree): boolean {\n for (let i = 0; i < hooksTree.length; i++) {\n const hook = hooksTree[i];\n\n if (!isUnnamedBuiltInHook(hook)) {\n return true;\n }\n\n if (hook.subHooks.length > 0) {\n if (hasNamedHooks(hook.subHooks)) {\n return true;\n }\n }\n }\n\n return false;\n}\n\nexport function flattenHooksList(hooksTree: HooksTree): HooksList {\n const hooksList: HooksList = [];\n withSyncPerfMeasurements('flattenHooksList()', () => {\n flattenHooksListImpl(hooksTree, hooksList);\n });\n\n if (__DEBUG__) {\n console.log('flattenHooksList() hooksList:', hooksList);\n }\n\n return hooksList;\n}\n\nfunction flattenHooksListImpl(\n hooksTree: HooksTree,\n hooksList: Array,\n): void {\n for (let i = 0; i < hooksTree.length; i++) {\n const hook = hooksTree[i];\n\n if (isUnnamedBuiltInHook(hook)) {\n // No need to load source code or do any parsing for unnamed hooks.\n if (__DEBUG__) {\n console.log('flattenHooksListImpl() Skipping unnamed hook', hook);\n }\n\n continue;\n }\n\n hooksList.push(hook);\n\n if (hook.subHooks.length > 0) {\n flattenHooksListImpl(hook.subHooks, hooksList);\n }\n }\n}\n\nfunction initializeHookSourceAndMetadata(\n hooksList: Array,\n): LocationKeyToHookSourceAndMetadata {\n // Create map of unique source locations (file names plus line and column numbers) to metadata about hooks.\n const locationKeyToHookSourceAndMetadata: LocationKeyToHookSourceAndMetadata =\n new Map();\n for (let i = 0; i < hooksList.length; i++) {\n const hook = hooksList[i];\n\n const hookSource = hook.hookSource;\n if (hookSource == null) {\n // Older versions of react-debug-tools don't include this information.\n // In this case, we can't continue.\n throw Error('Hook source code location not found.');\n }\n\n const locationKey = getHookSourceLocationKey(hookSource);\n if (!locationKeyToHookSourceAndMetadata.has(locationKey)) {\n // Can't be null because getHookSourceLocationKey() would have thrown\n const runtimeSourceURL = ((hookSource.fileName: any): string);\n\n const hookSourceAndMetadata: HookSourceAndMetadata = {\n hookSource,\n runtimeSourceCode: null,\n runtimeSourceURL,\n sourceMapJSON: null,\n sourceMapURL: null,\n };\n\n locationKeyToHookSourceAndMetadata.set(\n locationKey,\n hookSourceAndMetadata,\n );\n }\n }\n\n return locationKeyToHookSourceAndMetadata;\n}\n\n// Determines whether incoming hook is a primitive hook that gets assigned to variables.\nfunction isUnnamedBuiltInHook(hook: HooksNode) {\n return ['Effect', 'ImperativeHandle', 'LayoutEffect', 'DebugValue'].includes(\n hook.name,\n );\n}\n\nfunction loadSourceFiles(\n locationKeyToHookSourceAndMetadata: LocationKeyToHookSourceAndMetadata,\n fetchFileWithCaching: FetchFileWithCaching | null,\n): Promise(p: Promise | T) => T, Promise>>> {\n // Deduplicate fetches, since there can be multiple location keys per file.\n const dedupedFetchPromises = new Map>();\n\n const setterPromises = [];\n locationKeyToHookSourceAndMetadata.forEach(hookSourceAndMetadata => {\n const {runtimeSourceURL} = hookSourceAndMetadata;\n\n let fetchFileFunction = fetchFile;\n if (fetchFileWithCaching != null) {\n // If a helper function has been injected to fetch with caching,\n // use it to fetch the (already loaded) source file.\n fetchFileFunction = url => {\n return withAsyncPerfMeasurements(\n `fetchFileWithCaching(\"${url}\")`,\n () => {\n return ((fetchFileWithCaching: any): FetchFileWithCaching)(url);\n },\n );\n };\n }\n\n const fetchPromise =\n dedupedFetchPromises.get(runtimeSourceURL) ||\n fetchFileFunction(runtimeSourceURL).then(runtimeSourceCode => {\n // TODO (named hooks) Re-think this; the main case where it matters is when there's no source-maps,\n // because then we need to parse the full source file as an AST.\n if (runtimeSourceCode.length > MAX_SOURCE_LENGTH) {\n throw Error('Source code too large to parse');\n }\n\n if (__DEBUG__) {\n console.groupCollapsed(\n `loadSourceFiles() runtimeSourceURL \"${runtimeSourceURL}\"`,\n );\n console.log(runtimeSourceCode);\n console.groupEnd();\n }\n\n return runtimeSourceCode;\n });\n dedupedFetchPromises.set(runtimeSourceURL, fetchPromise);\n\n setterPromises.push(\n fetchPromise.then(runtimeSourceCode => {\n hookSourceAndMetadata.runtimeSourceCode = runtimeSourceCode;\n }),\n );\n });\n\n return Promise.all(setterPromises);\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n */\n\nimport type {HookSourceAndMetadata} from './loadSourceAndMetadata';\nimport type {HooksNode, HooksTree} from 'react-debug-tools/src/ReactDebugHooks';\nimport type {HookNames} from 'react-devtools-shared/src/types';\nimport type {FetchFileWithCaching} from 'react-devtools-shared/src/devtools/views/Components/FetchFileWithCachingContext';\n\nimport {withAsyncPerfMeasurements} from 'react-devtools-shared/src/PerformanceLoggingUtils';\nimport WorkerizedParseSourceAndMetadata from './parseSourceAndMetadata.worker';\nimport typeof * as ParseSourceAndMetadataModule from './parseSourceAndMetadata';\nimport {flattenHooksList, loadSourceAndMetadata} from './loadSourceAndMetadata';\n\nconst workerizedParseHookNames: ParseSourceAndMetadataModule =\n WorkerizedParseSourceAndMetadata();\n\nexport function parseSourceAndMetadata(\n hooksList: Array,\n locationKeyToHookSourceAndMetadata: Map,\n): Promise {\n return workerizedParseHookNames.parseSourceAndMetadata(\n hooksList,\n locationKeyToHookSourceAndMetadata,\n );\n}\n\nexport const purgeCachedMetadata = workerizedParseHookNames.purgeCachedMetadata;\n\nconst EMPTY_MAP: HookNames = new Map();\n\nexport async function parseHookNames(\n hooksTree: HooksTree,\n fetchFileWithCaching: FetchFileWithCaching | null,\n): Promise {\n return withAsyncPerfMeasurements('parseHookNames', async () => {\n const hooksList = flattenHooksList(hooksTree);\n if (hooksList.length === 0) {\n // This component tree contains no named hooks.\n return EMPTY_MAP;\n }\n\n // Runs on the main/UI thread so it can reuse Network cache:\n const locationKeyToHookSourceAndMetadata = await loadSourceAndMetadata(\n hooksList,\n fetchFileWithCaching,\n );\n\n // Runs in a Worker because it's CPU intensive:\n return parseSourceAndMetadata(\n hooksList,\n locationKeyToHookSourceAndMetadata,\n );\n });\n}\n","\n\t\t\t\tvar addMethods = require(\"../../../../react-devtools-core/node_modules/workerize-loader/dist/rpc-wrapper.js\")\n\t\t\t\tvar methods = [\"parseSourceAndMetadata\",\"purgeCachedMetadata\"]\n\t\t\t\tmodule.exports = function() {\n\t\t\t\t\tvar w = new Worker(URL.createObjectURL(new Blob([\"(()=>{var e={785:(e,t,r)=>{\\\"use strict\\\";var n=r(397);Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.codeFrameColumns=l,t.default=function(e,t,r,i={}){if(!a){a=!0;const e=\\\"Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.\\\";n.emitWarning?n.emitWarning(e,\\\"DeprecationWarning\\\"):(new Error(e).name=\\\"DeprecationWarning\\\",console.warn(new Error(e)))}return l(e,{start:{column:r=Math.max(r,0),line:t}},i)};var i=function(e){if(e&&e.__esModule)return e;if(null===e||\\\"object\\\"!=typeof e&&\\\"function\\\"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(r(7012));function s(){if(\\\"function\\\"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}let a=!1;const o=/\\\\r\\\\n|[\\\\n\\\\r\\\\u2028\\\\u2029]/;function l(e,t,r={}){const n=(r.highlightCode||r.forceColor)&&(0,i.shouldHighlight)(r),s=(0,i.getChalk)(r),a=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(s),l=(e,t)=>n?e(t):t,p=e.split(o),{start:c,end:u,markerLines:d}=function(e,t,r){const n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:s=2,linesBelow:a=3}=r||{},o=n.line,l=n.column,p=i.line,c=i.column;let u=Math.max(o-(s+1),0),d=Math.min(t.length,p+a);-1===o&&(u=0),-1===p&&(d=t.length);const h=p-o,f={};if(h)for(let e=0;e<=h;e++){const r=e+o;if(l)if(0===e){const e=t[r-1].length;f[r]=[l,e-l+1]}else if(e===h)f[r]=[0,c];else{const n=t[r-e].length;f[r]=[0,n]}else f[r]=!0}else f[o]=l===c?!l||[l,0]:[l,c-l];return{start:u,end:d,markerLines:f}}(t,p,r),h=t.start&&\\\"number\\\"==typeof t.start.column,f=String(u).length;let m=(n?(0,i.default)(e,r):e).split(o).slice(c,u).map(((e,t)=>{const n=c+1+t,i=` ${` ${n}`.slice(-f)} |`,s=d[n],o=!d[n+1];if(s){let t=\\\"\\\";if(Array.isArray(s)){const n=e.slice(0,Math.max(s[0]-1,0)).replace(/[^\\\\t]/g,\\\" \\\"),p=s[1]||1;t=[\\\"\\\\n \\\",l(a.gutter,i.replace(/\\\\d/g,\\\" \\\")),\\\" \\\",n,l(a.marker,\\\"^\\\").repeat(p)].join(\\\"\\\"),o&&r.message&&(t+=\\\" \\\"+l(a.message,r.message))}return[l(a.marker,\\\">\\\"),l(a.gutter,i),e.length>0?` ${e}`:\\\"\\\",t].join(\\\"\\\")}return` ${l(a.gutter,i)}${e.length>0?` ${e}`:\\\"\\\"}`})).join(\\\"\\\\n\\\");return r.message&&!h&&(m=`${\\\" \\\".repeat(f+1)}${r.message}\\\\n${m}`),n?s.reset(m):m}},6163:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function({node:e,parent:t,scope:r,id:i},a=!1){if(e.id)return;if(!s.isObjectProperty(t)&&!s.isObjectMethod(t,{kind:\\\"method\\\"})||t.computed&&!s.isLiteral(t.key)){if(s.isVariableDeclarator(t)){if(i=t.id,s.isIdentifier(i)&&!a){const t=r.parent.getBinding(i.name);if(t&&t.constant&&r.getBinding(i.name)===t)return e.id=s.cloneNode(i),void(e.id[s.NOT_LOCAL_BINDING]=!0)}}else if(s.isAssignmentExpression(t,{operator:\\\"=\\\"}))i=t.left;else if(!i)return}else i=t.key;let o;return i&&s.isLiteral(i)?o=function(e){return s.isNullLiteral(e)?\\\"null\\\":s.isRegExpLiteral(e)?`_${e.pattern}_${e.flags}`:s.isTemplateLiteral(e)?e.quasis.map((e=>e.value.raw)).join(\\\"\\\"):void 0!==e.value?e.value+\\\"\\\":\\\"\\\"}(i):i&&s.isIdentifier(i)&&(o=i.name),void 0!==o?(o=s.toBindingIdentifierName(o),(i=s.identifier(o))[s.NOT_LOCAL_BINDING]=!0,function(e,t,r,i){if(e.selfReference){if(!i.hasBinding(r.name)||i.hasGlobal(r.name)){if(!s.isFunction(t))return;let e=l;t.generator&&(e=p);const a=e({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:i.generateUidIdentifier(r.name)}).expression,o=a.callee.body.body[0].params;for(let e=0,r=(0,n.default)(t);e{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){const t=e.params;for(let e=0;e{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){if(!e.isExportDeclaration())throw new Error(\\\"Only export declarations can be split.\\\");const t=e.isExportDefaultDeclaration(),r=e.get(\\\"declaration\\\"),i=r.isClassDeclaration();if(t){const t=r.isFunctionDeclaration()||i,s=r.isScope()?r.scope.parent:r.scope;let a=r.node.id,o=!1;a||(o=!0,a=s.generateUidIdentifier(\\\"default\\\"),(t||r.isFunctionExpression()||r.isClassExpression())&&(r.node.id=n.cloneNode(a)));const l=t?r:n.variableDeclaration(\\\"var\\\",[n.variableDeclarator(n.cloneNode(a),r.node)]),p=n.exportNamedDeclaration(null,[n.exportSpecifier(n.cloneNode(a),n.identifier(\\\"default\\\"))]);return e.insertAfter(p),e.replaceWith(l),o&&s.registerDeclaration(e),e}if(e.get(\\\"specifiers\\\").length>0)throw new Error(\\\"It doesn't make sense to split exported specifiers.\\\");const s=r.getOuterBindingIdentifiers(),a=Object.keys(s).map((e=>n.exportSpecifier(n.identifier(e),n.identifier(e)))),o=n.exportNamedDeclaration(null,a);return e.insertAfter(o),e.replaceWith(r.node),e};var n=function(e){if(e&&e.__esModule)return e;if(null===e||\\\"object\\\"!=typeof e&&\\\"function\\\"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var a=n?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(r,s,a):r[s]=e[s]}return r.default=e,t&&t.set(e,r),r}(r(17));function i(){if(\\\"function\\\"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}},9104:(e,t)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.isIdentifierStart=p,t.isIdentifierChar=c,t.isIdentifierName=function(e){let t=!0;for(let r=0;re)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function p(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):l(e,a)))}function c(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&s.test(String.fromCharCode(e)):l(e,a)||l(e,o))))}},7075:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),Object.defineProperty(t,\\\"isIdentifierName\\\",{enumerable:!0,get:function(){return n.isIdentifierName}}),Object.defineProperty(t,\\\"isIdentifierChar\\\",{enumerable:!0,get:function(){return n.isIdentifierChar}}),Object.defineProperty(t,\\\"isIdentifierStart\\\",{enumerable:!0,get:function(){return n.isIdentifierStart}}),Object.defineProperty(t,\\\"isReservedWord\\\",{enumerable:!0,get:function(){return i.isReservedWord}}),Object.defineProperty(t,\\\"isStrictBindOnlyReservedWord\\\",{enumerable:!0,get:function(){return i.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,\\\"isStrictBindReservedWord\\\",{enumerable:!0,get:function(){return i.isStrictBindReservedWord}}),Object.defineProperty(t,\\\"isStrictReservedWord\\\",{enumerable:!0,get:function(){return i.isStrictReservedWord}}),Object.defineProperty(t,\\\"isKeyword\\\",{enumerable:!0,get:function(){return i.isKeyword}});var n=r(9104),i=r(4400)},4400:(e,t)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.isReservedWord=s,t.isStrictReservedWord=a,t.isStrictBindOnlyReservedWord=o,t.isStrictBindReservedWord=function(e,t){return a(e,t)||o(e)},t.isKeyword=function(e){return r.has(e)};const r=new Set([\\\"break\\\",\\\"case\\\",\\\"catch\\\",\\\"continue\\\",\\\"debugger\\\",\\\"default\\\",\\\"do\\\",\\\"else\\\",\\\"finally\\\",\\\"for\\\",\\\"function\\\",\\\"if\\\",\\\"return\\\",\\\"switch\\\",\\\"throw\\\",\\\"try\\\",\\\"var\\\",\\\"const\\\",\\\"while\\\",\\\"with\\\",\\\"new\\\",\\\"this\\\",\\\"super\\\",\\\"class\\\",\\\"extends\\\",\\\"export\\\",\\\"import\\\",\\\"null\\\",\\\"true\\\",\\\"false\\\",\\\"in\\\",\\\"instanceof\\\",\\\"typeof\\\",\\\"void\\\",\\\"delete\\\"]),n=new Set([\\\"implements\\\",\\\"interface\\\",\\\"let\\\",\\\"package\\\",\\\"private\\\",\\\"protected\\\",\\\"public\\\",\\\"static\\\",\\\"yield\\\"]),i=new Set([\\\"eval\\\",\\\"arguments\\\"]);function s(e,t){return t&&\\\"await\\\"===e||\\\"enum\\\"===e}function a(e,t){return s(e,t)||n.has(e)}function o(e){return i.has(e)}},7012:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.shouldHighlight=c,t.getChalk=u,t.default=function(e,t={}){if(c(t)){return function(e,t){let r=\\\"\\\";for(const{type:n,value:i}of p(t)){const t=e[n];r+=t?i.split(o).map((e=>t(e))).join(\\\"\\\\n\\\"):i}return r}({keyword:(r=u(t)).cyan,capitalized:r.yellow,jsxIdentifier:r.yellow,punctuator:r.yellow,number:r.magenta,string:r.green,regex:r.magenta,comment:r.grey,invalid:r.white.bgRed.bold},e)}var r;return e};var n=r(7075);const i=r(8631),s=r(1859),a=new Set([\\\"as\\\",\\\"async\\\",\\\"from\\\",\\\"get\\\",\\\"of\\\",\\\"set\\\"]),o=/\\\\r\\\\n|[\\\\n\\\\r\\\\u2028\\\\u2029]/,l=/^[()[\\\\]{}]$/;let p;{const e=/^[a-z][\\\\w-]*$/i,t=function(t,r,i){if(\\\"name\\\"===t.type){if((0,n.isKeyword)(t.value)||(0,n.isStrictReservedWord)(t.value,!0)||a.has(t.value))return\\\"keyword\\\";if(e.test(t.value)&&(\\\"<\\\"===i[r-1]||\\\"{\\\"use strict\\\";e=r.nmd(e);const n=r(5536),i=(e,t)=>function(){return`\\u001b[${e.apply(n,arguments)+t}m`},s=(e,t)=>function(){const r=e.apply(n,arguments);return`\\u001b[${38+t};5;${r}m`},a=(e,t)=>function(){const r=e.apply(n,arguments);return`\\u001b[${38+t};2;${r[0]};${r[1]};${r[2]}m`};Object.defineProperty(e,\\\"exports\\\",{enumerable:!0,get:function(){const e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(const r of Object.keys(t)){const n=t[r];for(const r of Object.keys(n)){const i=n[r];t[r]={open:`\\u001b[${i[0]}m`,close:`\\u001b[${i[1]}m`},n[r]=t[r],e.set(i[0],i[1])}Object.defineProperty(t,r,{value:n,enumerable:!1}),Object.defineProperty(t,\\\"codes\\\",{value:e,enumerable:!1})}const r=e=>e,o=(e,t,r)=>[e,t,r];t.color.close=\\\"\\u001b[39m\\\",t.bgColor.close=\\\"\\u001b[49m\\\",t.color.ansi={ansi:i(r,0)},t.color.ansi256={ansi256:s(r,0)},t.color.ansi16m={rgb:a(o,0)},t.bgColor.ansi={ansi:i(r,10)},t.bgColor.ansi256={ansi256:s(r,10)},t.bgColor.ansi16m={rgb:a(o,10)};for(let e of Object.keys(n)){if(\\\"object\\\"!=typeof n[e])continue;const r=n[e];\\\"ansi16\\\"===e&&(e=\\\"ansi\\\"),\\\"ansi16\\\"in r&&(t.color.ansi[e]=i(r.ansi16,0),t.bgColor.ansi[e]=i(r.ansi16,10)),\\\"ansi256\\\"in r&&(t.color.ansi256[e]=s(r.ansi256,0),t.bgColor.ansi256[e]=s(r.ansi256,10)),\\\"rgb\\\"in r&&(t.color.ansi16m[e]=a(r.rgb,0),t.bgColor.ansi16m[e]=a(r.rgb,10))}return t}})},1859:(e,t,r)=>{\\\"use strict\\\";var n=r(397);const i=r(1014),s=r(5332),a=r(3182).stdout,o=r(6805),l=\\\"win32\\\"===n.platform&&!(n.env.TERM||\\\"\\\").toLowerCase().startsWith(\\\"xterm\\\"),p=[\\\"ansi\\\",\\\"ansi\\\",\\\"ansi256\\\",\\\"ansi16m\\\"],c=new Set([\\\"gray\\\"]),u=Object.create(null);function d(e,t){t=t||{};const r=a?a.level:0;e.level=void 0===t.level?r:t.level,e.enabled=\\\"enabled\\\"in t?t.enabled:e.level>0}function h(e){if(!this||!(this instanceof h)||this.template){const t={};return d(t,e),t.template=function(){const e=[].slice.call(arguments);return T.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,h.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=h,t.template}d(this,e)}l&&(s.blue.open=\\\"\\u001b[94m\\\");for(const e of Object.keys(s))s[e].closeRe=new RegExp(i(s[e].close),\\\"g\\\"),u[e]={get(){const t=s[e];return m.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};u.visible={get(){return m.call(this,this._styles||[],!0,\\\"visible\\\")}},s.color.closeRe=new RegExp(i(s.color.close),\\\"g\\\");for(const e of Object.keys(s.color.ansi))c.has(e)||(u[e]={get(){const t=this.level;return function(){const r={open:s.color[p[t]][e].apply(null,arguments),close:s.color.close,closeRe:s.color.closeRe};return m.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}});s.bgColor.closeRe=new RegExp(i(s.bgColor.close),\\\"g\\\");for(const e of Object.keys(s.bgColor.ansi))c.has(e)||(u[\\\"bg\\\"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const r={open:s.bgColor[p[t]][e].apply(null,arguments),close:s.bgColor.close,closeRe:s.bgColor.closeRe};return m.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}});const f=Object.defineProperties((()=>{}),u);function m(e,t,r){const n=function(){return y.apply(n,arguments)};n._styles=e,n._empty=t;const i=this;return Object.defineProperty(n,\\\"level\\\",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(n,\\\"enabled\\\",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),n.hasGrey=this.hasGrey||\\\"gray\\\"===r||\\\"grey\\\"===r,n.__proto__=f,n}function y(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return\\\"\\\";if(t>1)for(let n=1;n{\\\"use strict\\\";const t=/(?:\\\\\\\\(u[a-f\\\\d]{4}|x[a-f\\\\d]{2}|.))|(?:\\\\{(~)?(\\\\w+(?:\\\\([^)]*\\\\))?(?:\\\\.\\\\w+(?:\\\\([^)]*\\\\))?)*)(?:[ \\\\t]|(?=\\\\r?\\\\n)))|(\\\\})|((?:.|[\\\\r\\\\n\\\\f])+?)/gi,r=/(?:^|\\\\.)(\\\\w+)(?:\\\\(([^)]*)\\\\))?/g,n=/^(['\\\"])((?:\\\\\\\\.|(?!\\\\1)[^\\\\\\\\])*)\\\\1$/,i=/\\\\\\\\(u[a-f\\\\d]{4}|x[a-f\\\\d]{2}|.)|([^\\\\\\\\])/gi,s=new Map([[\\\"n\\\",\\\"\\\\n\\\"],[\\\"r\\\",\\\"\\\\r\\\"],[\\\"t\\\",\\\"\\\\t\\\"],[\\\"b\\\",\\\"\\\\b\\\"],[\\\"f\\\",\\\"\\\\f\\\"],[\\\"v\\\",\\\"\\\\v\\\"],[\\\"0\\\",\\\"\\\\0\\\"],[\\\"\\\\\\\\\\\",\\\"\\\\\\\\\\\"],[\\\"e\\\",\\\"\\u001b\\\"],[\\\"a\\\",\\\"\\u0007\\\"]]);function a(e){return\\\"u\\\"===e[0]&&5===e.length||\\\"x\\\"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):s.get(e)||e}function o(e,t){const r=[],s=t.trim().split(/\\\\s*,\\\\s*/g);let o;for(const t of s)if(isNaN(t)){if(!(o=t.match(n)))throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`);r.push(o[2].replace(i,((e,t,r)=>t?a(t):r)))}else r.push(Number(t));return r}function l(e){r.lastIndex=0;const t=[];let n;for(;null!==(n=r.exec(e));){const e=n[1];if(n[2]){const r=o(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function p(e,t){const r={};for(const e of t)for(const t of e.styles)r[t[0]]=e.inverse?null:t.slice(1);let n=e;for(const e of Object.keys(r))if(Array.isArray(r[e])){if(!(e in n))throw new Error(`Unknown Chalk style: ${e}`);n=r[e].length>0?n[e].apply(n,r[e]):n[e]}return n}e.exports=(e,r)=>{const n=[],i=[];let s=[];if(r.replace(t,((t,r,o,c,u,d)=>{if(r)s.push(a(r));else if(c){const t=s.join(\\\"\\\");s=[],i.push(0===n.length?t:p(e,n)(t)),n.push({inverse:o,styles:l(c)})}else if(u){if(0===n.length)throw new Error(\\\"Found extraneous } in Chalk template literal\\\");i.push(p(e,n)(s.join(\\\"\\\"))),s=[],n.pop()}else s.push(d)})),i.push(s.join(\\\"\\\")),n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?\\\"\\\":\\\"s\\\"} (\\\\`}\\\\`)`;throw new Error(e)}return i.join(\\\"\\\")}},8325:(e,t,r)=>{var n=r(4730),i={};for(var s in n)n.hasOwnProperty(s)&&(i[n[s]]=s);var a=e.exports={rgb:{channels:3,labels:\\\"rgb\\\"},hsl:{channels:3,labels:\\\"hsl\\\"},hsv:{channels:3,labels:\\\"hsv\\\"},hwb:{channels:3,labels:\\\"hwb\\\"},cmyk:{channels:4,labels:\\\"cmyk\\\"},xyz:{channels:3,labels:\\\"xyz\\\"},lab:{channels:3,labels:\\\"lab\\\"},lch:{channels:3,labels:\\\"lch\\\"},hex:{channels:1,labels:[\\\"hex\\\"]},keyword:{channels:1,labels:[\\\"keyword\\\"]},ansi16:{channels:1,labels:[\\\"ansi16\\\"]},ansi256:{channels:1,labels:[\\\"ansi256\\\"]},hcg:{channels:3,labels:[\\\"h\\\",\\\"c\\\",\\\"g\\\"]},apple:{channels:3,labels:[\\\"r16\\\",\\\"g16\\\",\\\"b16\\\"]},gray:{channels:1,labels:[\\\"gray\\\"]}};for(var o in a)if(a.hasOwnProperty(o)){if(!(\\\"channels\\\"in a[o]))throw new Error(\\\"missing channels property: \\\"+o);if(!(\\\"labels\\\"in a[o]))throw new Error(\\\"missing channel labels property: \\\"+o);if(a[o].labels.length!==a[o].channels)throw new Error(\\\"channel and label counts mismatch: \\\"+o);var l=a[o].channels,p=a[o].labels;delete a[o].channels,delete a[o].labels,Object.defineProperty(a[o],\\\"channels\\\",{value:l}),Object.defineProperty(a[o],\\\"labels\\\",{value:p})}a.rgb.hsl=function(e){var t,r,n=e[0]/255,i=e[1]/255,s=e[2]/255,a=Math.min(n,i,s),o=Math.max(n,i,s),l=o-a;return o===a?t=0:n===o?t=(i-s)/l:i===o?t=2+(s-n)/l:s===o&&(t=4+(n-i)/l),(t=Math.min(60*t,360))<0&&(t+=360),r=(a+o)/2,[t,100*(o===a?0:r<=.5?l/(o+a):l/(2-o-a)),100*r]},a.rgb.hsv=function(e){var t,r,n,i,s,a=e[0]/255,o=e[1]/255,l=e[2]/255,p=Math.max(a,o,l),c=p-Math.min(a,o,l),u=function(e){return(p-e)/6/c+.5};return 0===c?i=s=0:(s=c/p,t=u(a),r=u(o),n=u(l),a===p?i=n-r:o===p?i=1/3+t-n:l===p&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*s,100*p]},a.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2];return[a.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(r,n))*100,100*(n=1-1/255*Math.max(t,Math.max(r,n)))]},a.rgb.cmyk=function(e){var t,r=e[0]/255,n=e[1]/255,i=e[2]/255;return[100*((1-r-(t=Math.min(1-r,1-n,1-i)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var t=i[e];if(t)return t;var r,s,a,o=1/0;for(var l in n)if(n.hasOwnProperty(l)){var p=(s=e,a=n[l],Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)+Math.pow(s[2]-a[2],2));p.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),r=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(r-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(e){var t,r,n,i,s,a=e[0]/360,o=e[1]/100,l=e[2]/100;if(0===o)return[s=255*l,s,s];t=2*l-(r=l<.5?l*(1+o):l+o-l*o),i=[0,0,0];for(var p=0;p<3;p++)(n=a+1/3*-(p-1))<0&&n++,n>1&&n--,s=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,i[p]=255*s;return i},a.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,i=r,s=Math.max(n,.01);return r*=(n*=2)<=1?n:2-n,i*=s<=1?s:2-s,[t,100*(0===n?2*i/(s+i):2*r/(n+r)),(n+r)/2*100]},a.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,i=Math.floor(t)%6,s=t-Math.floor(t),a=255*n*(1-r),o=255*n*(1-r*s),l=255*n*(1-r*(1-s));switch(n*=255,i){case 0:return[n,l,a];case 1:return[o,n,a];case 2:return[a,n,l];case 3:return[a,o,n];case 4:return[l,a,n];case 5:return[n,a,o]}},a.hsv.hsl=function(e){var t,r,n,i=e[0],s=e[1]/100,a=e[2]/100,o=Math.max(a,.01);return n=(2-s)*a,r=s*o,[i,100*(r=(r/=(t=(2-s)*o)<=1?t:2-t)||0),100*(n/=2)]},a.hwb.rgb=function(e){var t,r,n,i,s,a,o,l=e[0]/360,p=e[1]/100,c=e[2]/100,u=p+c;switch(u>1&&(p/=u,c/=u),n=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(n=1-n),i=p+n*((r=1-c)-p),t){default:case 6:case 0:s=r,a=i,o=p;break;case 1:s=i,a=r,o=p;break;case 2:s=p,a=r,o=i;break;case 3:s=p,a=i,o=r;break;case 4:s=i,a=p,o=r;break;case 5:s=r,a=p,o=i}return[255*s,255*a,255*o]},a.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i))]},a.xyz.rgb=function(e){var t,r,n,i=e[0]/100,s=e[1]/100,a=e[2]/100;return r=-.9689*i+1.8758*s+.0415*a,n=.0557*i+-.204*s+1.057*a,t=(t=3.2406*i+-1.5372*s+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},a.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2];return r/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(t-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},a.lab.xyz=function(e){var t,r,n,i=e[0];t=e[1]/500+(r=(i+16)/116),n=r-e[2]/200;var s=Math.pow(r,3),a=Math.pow(t,3),o=Math.pow(n,3);return r=s>.008856?s:(r-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,[t*=95.047,r*=100,n*=108.883]},a.lab.lch=function(e){var t,r=e[0],n=e[1],i=e[2];return(t=360*Math.atan2(i,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+i*i),t]},a.lch.lab=function(e){var t,r=e[0],n=e[1];return t=e[2]/360*2*Math.PI,[r,n*Math.cos(t),n*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],i=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var s=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return 2===i&&(s+=60),s},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var r;return e-=16,[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return\\\"000000\\\".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];3===t[0].length&&(r=r.split(\\\"\\\").map((function(e){return e+e})).join(\\\"\\\"));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},a.rgb.hcg=function(e){var t,r=e[0]/255,n=e[1]/255,i=e[2]/255,s=Math.max(Math.max(r,n),i),a=Math.min(Math.min(r,n),i),o=s-a;return t=o<=0?0:s===r?(n-i)/o%6:s===n?2+(i-r)/o:4+(r-n)/o+4,t/=6,[360*(t%=1),100*o,100*(o<1?a/(1-o):0)]},a.hsl.hcg=function(e){var t,r=e[1]/100,n=e[2]/100,i=0;return(t=n<.5?2*r*n:2*r*(1-n))<1&&(i=(n-.5*t)/(1-t)),[e[0],100*t,100*i]},a.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],100*n,100*i]},a.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];var i,s=[0,0,0],a=t%1*6,o=a%1,l=1-o;switch(Math.floor(a)){case 0:s[0]=1,s[1]=o,s[2]=0;break;case 1:s[0]=l,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=o;break;case 3:s[0]=0,s[1]=l,s[2]=1;break;case 4:s[0]=o,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=l}return i=(1-r)*n,[255*(r*s[0]+i),255*(r*s[1]+i),255*(r*s[2]+i)]},a.hcg.hsv=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t),n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},a.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},a.hcg.hwb=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},a.hwb.hcg=function(e){var t=e[1]/100,r=1-e[2]/100,n=r-t,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],100*n,100*i]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return\\\"000000\\\".substring(r.length)+r},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},5536:(e,t,r)=>{var n=r(8325),i=r(6094),s={};Object.keys(n).forEach((function(e){s[e]={},Object.defineProperty(s[e],\\\"channels\\\",{value:n[e].channels}),Object.defineProperty(s[e],\\\"labels\\\",{value:n[e].labels});var t=i(e);Object.keys(t).forEach((function(r){var n=t[r];s[e][r]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var r=e(t);if(\\\"object\\\"==typeof r)for(var n=r.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return\\\"conversion\\\"in e&&(t.conversion=e.conversion),t}(n)}))})),e.exports=s},6094:(e,t,r)=>{var n=r(8325);function i(e,t){return function(r){return t(e(r))}}function s(e,t){for(var r=[t[e].parent,e],s=n[t[e].parent][e],a=t[e].parent;t[a].parent;)r.unshift(t[a].parent),s=i(n[t[a].parent][a],s),a=t[a].parent;return s.conversion=r,s}e.exports=function(e){for(var t=function(e){var t=function(){for(var e={},t=Object.keys(n),r=t.length,i=0;i{\\\"use strict\\\";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},3182:(e,t,r)=>{\\\"use strict\\\";var n=r(397);const i=r(2037),s=r(9341),a=n.env;let o;function l(e){const t=function(e){if(!1===o)return 0;if(s(\\\"color=16m\\\")||s(\\\"color=full\\\")||s(\\\"color=truecolor\\\"))return 3;if(s(\\\"color=256\\\"))return 2;if(e&&!e.isTTY&&!0!==o)return 0;const t=o?1:0;if(\\\"win32\\\"===n.platform){const e=i.release().split(\\\".\\\");return Number(n.versions.node.split(\\\".\\\")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if(\\\"CI\\\"in a)return[\\\"TRAVIS\\\",\\\"CIRCLECI\\\",\\\"APPVEYOR\\\",\\\"GITLAB_CI\\\"].some((e=>e in a))||\\\"codeship\\\"===a.CI_NAME?1:t;if(\\\"TEAMCITY_VERSION\\\"in a)return/^(9\\\\.(0*[1-9]\\\\d*)\\\\.|\\\\d{2,}\\\\.)/.test(a.TEAMCITY_VERSION)?1:0;if(\\\"truecolor\\\"===a.COLORTERM)return 3;if(\\\"TERM_PROGRAM\\\"in a){const e=parseInt((a.TERM_PROGRAM_VERSION||\\\"\\\").split(\\\".\\\")[0],10);switch(a.TERM_PROGRAM){case\\\"iTerm.app\\\":return e>=3?3:2;case\\\"Apple_Terminal\\\":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||\\\"COLORTERM\\\"in a?1:(a.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}s(\\\"no-color\\\")||s(\\\"no-colors\\\")||s(\\\"color=false\\\")?o=!1:(s(\\\"color\\\")||s(\\\"colors\\\")||s(\\\"color=true\\\")||s(\\\"color=always\\\"))&&(o=!0),\\\"FORCE_COLOR\\\"in a&&(o=0===a.FORCE_COLOR.length||0!==parseInt(a.FORCE_COLOR,10)),e.exports={supportsColor:l,stdout:l(n.stdout),stderr:l(n.stderr)}},4494:(e,t)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0});const r=!0,n=!0,i=!0,s=!0;class a{constructor(e,t={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.updateContext=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null}}const o=new Map;function l(e,t={}){t.keyword=e;const r=new a(e,t);return o.set(e,r),r}function p(e,t){return new a(e,{beforeExpr:r,binop:t})}const c={num:new a(\\\"num\\\",{startsExpr:n}),bigint:new a(\\\"bigint\\\",{startsExpr:n}),decimal:new a(\\\"decimal\\\",{startsExpr:n}),regexp:new a(\\\"regexp\\\",{startsExpr:n}),string:new a(\\\"string\\\",{startsExpr:n}),name:new a(\\\"name\\\",{startsExpr:n}),privateName:new a(\\\"#name\\\",{startsExpr:n}),eof:new a(\\\"eof\\\"),bracketL:new a(\\\"[\\\",{beforeExpr:r,startsExpr:n}),bracketHashL:new a(\\\"#[\\\",{beforeExpr:r,startsExpr:n}),bracketBarL:new a(\\\"[|\\\",{beforeExpr:r,startsExpr:n}),bracketR:new a(\\\"]\\\"),bracketBarR:new a(\\\"|]\\\"),braceL:new a(\\\"{\\\",{beforeExpr:r,startsExpr:n}),braceBarL:new a(\\\"{|\\\",{beforeExpr:r,startsExpr:n}),braceHashL:new a(\\\"#{\\\",{beforeExpr:r,startsExpr:n}),braceR:new a(\\\"}\\\"),braceBarR:new a(\\\"|}\\\"),parenL:new a(\\\"(\\\",{beforeExpr:r,startsExpr:n}),parenR:new a(\\\")\\\"),comma:new a(\\\",\\\",{beforeExpr:r}),semi:new a(\\\";\\\",{beforeExpr:r}),colon:new a(\\\":\\\",{beforeExpr:r}),doubleColon:new a(\\\"::\\\",{beforeExpr:r}),dot:new a(\\\".\\\"),question:new a(\\\"?\\\",{beforeExpr:r}),questionDot:new a(\\\"?.\\\"),arrow:new a(\\\"=>\\\",{beforeExpr:r}),template:new a(\\\"template\\\"),ellipsis:new a(\\\"...\\\",{beforeExpr:r}),backQuote:new a(\\\"`\\\",{startsExpr:n}),dollarBraceL:new a(\\\"${\\\",{beforeExpr:r,startsExpr:n}),at:new a(\\\"@\\\"),hash:new a(\\\"#\\\",{startsExpr:n}),interpreterDirective:new a(\\\"#!...\\\"),eq:new a(\\\"=\\\",{beforeExpr:r,isAssign:!0}),assign:new a(\\\"_=\\\",{beforeExpr:r,isAssign:!0}),incDec:new a(\\\"++/--\\\",{prefix:s,postfix:!0,startsExpr:n}),bang:new a(\\\"!\\\",{beforeExpr:r,prefix:s,startsExpr:n}),tilde:new a(\\\"~\\\",{beforeExpr:r,prefix:s,startsExpr:n}),pipeline:p(\\\"|>\\\",0),nullishCoalescing:p(\\\"??\\\",1),logicalOR:p(\\\"||\\\",1),logicalAND:p(\\\"&&\\\",2),bitwiseOR:p(\\\"|\\\",3),bitwiseXOR:p(\\\"^\\\",4),bitwiseAND:p(\\\"&\\\",5),equality:p(\\\"==/!=/===/!==\\\",6),relational:p(\\\"/<=/>=\\\",7),bitShift:p(\\\"<>/>>>\\\",8),plusMin:new a(\\\"+/-\\\",{beforeExpr:r,binop:9,prefix:s,startsExpr:n}),modulo:new a(\\\"%\\\",{beforeExpr:r,binop:10,startsExpr:n}),star:new a(\\\"*\\\",{binop:10}),slash:p(\\\"/\\\",10),exponent:new a(\\\"**\\\",{beforeExpr:r,binop:11,rightAssociative:!0}),_break:l(\\\"break\\\"),_case:l(\\\"case\\\",{beforeExpr:r}),_catch:l(\\\"catch\\\"),_continue:l(\\\"continue\\\"),_debugger:l(\\\"debugger\\\"),_default:l(\\\"default\\\",{beforeExpr:r}),_do:l(\\\"do\\\",{isLoop:i,beforeExpr:r}),_else:l(\\\"else\\\",{beforeExpr:r}),_finally:l(\\\"finally\\\"),_for:l(\\\"for\\\",{isLoop:i}),_function:l(\\\"function\\\",{startsExpr:n}),_if:l(\\\"if\\\"),_return:l(\\\"return\\\",{beforeExpr:r}),_switch:l(\\\"switch\\\"),_throw:l(\\\"throw\\\",{beforeExpr:r,prefix:s,startsExpr:n}),_try:l(\\\"try\\\"),_var:l(\\\"var\\\"),_const:l(\\\"const\\\"),_while:l(\\\"while\\\",{isLoop:i}),_with:l(\\\"with\\\"),_new:l(\\\"new\\\",{beforeExpr:r,startsExpr:n}),_this:l(\\\"this\\\",{startsExpr:n}),_super:l(\\\"super\\\",{startsExpr:n}),_class:l(\\\"class\\\",{startsExpr:n}),_extends:l(\\\"extends\\\",{beforeExpr:r}),_export:l(\\\"export\\\"),_import:l(\\\"import\\\",{startsExpr:n}),_null:l(\\\"null\\\",{startsExpr:n}),_true:l(\\\"true\\\",{startsExpr:n}),_false:l(\\\"false\\\",{startsExpr:n}),_in:l(\\\"in\\\",{beforeExpr:r,binop:7}),_instanceof:l(\\\"instanceof\\\",{beforeExpr:r,binop:7}),_typeof:l(\\\"typeof\\\",{beforeExpr:r,prefix:s,startsExpr:n}),_void:l(\\\"void\\\",{beforeExpr:r,prefix:s,startsExpr:n}),_delete:l(\\\"delete\\\",{beforeExpr:r,prefix:s,startsExpr:n})},u=/\\\\r\\\\n?|[\\\\n\\\\u2028\\\\u2029]/,d=new RegExp(u.source,\\\"g\\\");function h(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const f=/(?:\\\\s|\\\\/\\\\/.*|\\\\/\\\\*[^]*?\\\\*\\\\/)*/g;function m(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class y{constructor(e,t){this.line=void 0,this.column=void 0,this.line=e,this.column=t}}class T{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}}class b{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){return this.plugins.has(e)}getPluginOption(e,t){if(this.hasPlugin(e))return this.plugins.get(e)[t]}}function g(e){return e[e.length-1]}class S extends b{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.trailingComments.push(e),this.state.leadingComments.push(e)}adjustCommentsAfterTrailingComma(e,t,r){if(0===this.state.leadingComments.length)return;let n=null,i=t.length;for(;null===n&&i>0;)n=t[--i];if(null===n)return;for(let e=0;e0?n.trailingComments=s:void 0!==n.trailingComments&&(n.trailingComments=[])}processComment(e){if(\\\"Program\\\"===e.type&&e.body.length>0)return;const t=this.state.commentStack;let r,n,i,s,a;if(this.state.trailingComments.length>0)this.state.trailingComments[0].start>=e.end?(i=this.state.trailingComments,this.state.trailingComments=[]):this.state.trailingComments.length=0;else if(t.length>0){const r=g(t);r.trailingComments&&r.trailingComments[0].start>=e.end&&(i=r.trailingComments,delete r.trailingComments)}for(t.length>0&&g(t).start>=e.start&&(r=t.pop());t.length>0&&g(t).start>=e.start;)n=t.pop();if(!n&&r&&(n=r),r)switch(e.type){case\\\"ObjectExpression\\\":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case\\\"ObjectPattern\\\":this.adjustCommentsAfterTrailingComma(e,e.properties,!0);break;case\\\"CallExpression\\\":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case\\\"ArrayExpression\\\":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case\\\"ArrayPattern\\\":this.adjustCommentsAfterTrailingComma(e,e.elements,!0)}else this.state.commentPreviousNode&&(\\\"ImportSpecifier\\\"===this.state.commentPreviousNode.type&&\\\"ImportSpecifier\\\"!==e.type||\\\"ExportSpecifier\\\"===this.state.commentPreviousNode.type&&\\\"ExportSpecifier\\\"!==e.type)&&this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode]);if(n){if(n.leadingComments)if(n!==e&&n.leadingComments.length>0&&g(n.leadingComments).end<=e.start)e.leadingComments=n.leadingComments,delete n.leadingComments;else for(s=n.leadingComments.length-2;s>=0;--s)if(n.leadingComments[s].end<=e.start){e.leadingComments=n.leadingComments.splice(0,s+1);break}}else if(this.state.leadingComments.length>0)if(g(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode)for(a=0;a0&&(e.leadingComments=this.state.leadingComments,this.state.leadingComments=[])}else{for(s=0;se.start);s++);const t=this.state.leadingComments.slice(0,s);t.length&&(e.leadingComments=t),i=this.state.leadingComments.slice(s),0===i.length&&(i=null)}if(this.state.commentPreviousNode=e,i)if(i.length&&i[0].start>=e.start&&g(i).end<=e.end)e.innerComments=i;else{const t=i.findIndex((t=>t.end>=e.end));t>0?(e.innerComments=i.slice(0,t),e.trailingComments=i.slice(t)):e.trailingComments=i}t.push(e)}}const x=Object.freeze({SyntaxError:\\\"BABEL_PARSER_SYNTAX_ERROR\\\",SourceTypeModuleError:\\\"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED\\\"}),E=v({AccessorIsGenerator:\\\"A %0ter cannot be a generator.\\\",ArgumentsInClass:\\\"'arguments' is only allowed in functions and class methods.\\\",AsyncFunctionInSingleStatementContext:\\\"Async functions can only be declared at the top level or inside a block.\\\",AwaitBindingIdentifier:\\\"Can not use 'await' as identifier inside an async function.\\\",AwaitBindingIdentifierInStaticBlock:\\\"Can not use 'await' as identifier inside a static block.\\\",AwaitExpressionFormalParameter:\\\"'await' is not allowed in async function parameters.\\\",AwaitNotInAsyncContext:\\\"'await' is only allowed within async functions and at the top levels of modules.\\\",AwaitNotInAsyncFunction:\\\"'await' is only allowed within async functions.\\\",BadGetterArity:\\\"A 'get' accesor must not have any formal parameters.\\\",BadSetterArity:\\\"A 'set' accesor must have exactly one formal parameter.\\\",BadSetterRestParameter:\\\"A 'set' accesor function argument must not be a rest parameter.\\\",ConstructorClassField:\\\"Classes may not have a field named 'constructor'.\\\",ConstructorClassPrivateField:\\\"Classes may not have a private field named '#constructor'.\\\",ConstructorIsAccessor:\\\"Class constructor may not be an accessor.\\\",ConstructorIsAsync:\\\"Constructor can't be an async function.\\\",ConstructorIsGenerator:\\\"Constructor can't be a generator.\\\",DeclarationMissingInitializer:\\\"'%0' require an initialization value.\\\",DecoratorBeforeExport:\\\"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.\\\",DecoratorConstructor:\\\"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?\\\",DecoratorExportClass:\\\"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.\\\",DecoratorSemicolon:\\\"Decorators must not be followed by a semicolon.\\\",DecoratorStaticBlock:\\\"Decorators can't be used with a static block.\\\",DeletePrivateField:\\\"Deleting a private field is not allowed.\\\",DestructureNamedImport:\\\"ES2015 named imports do not destructure. Use another statement for destructuring after the import.\\\",DuplicateConstructor:\\\"Duplicate constructor in the same class.\\\",DuplicateDefaultExport:\\\"Only one default export allowed per module.\\\",DuplicateExport:\\\"`%0` has already been exported. Exported identifiers must be unique.\\\",DuplicateProto:\\\"Redefinition of __proto__ property.\\\",DuplicateRegExpFlags:\\\"Duplicate regular expression flag.\\\",ElementAfterRest:\\\"Rest element must be last element.\\\",EscapedCharNotAnIdentifier:\\\"Invalid Unicode escape.\\\",ExportBindingIsString:\\\"A string literal cannot be used as an exported binding without `from`.\\\\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?\\\",ExportDefaultFromAsIdentifier:\\\"'from' is not allowed as an identifier after 'export default'.\\\",ForInOfLoopInitializer:\\\"'%0' loop variable declaration may not have an initializer.\\\",ForOfAsync:\\\"The left-hand side of a for-of loop may not be 'async'.\\\",ForOfLet:\\\"The left-hand side of a for-of loop may not start with 'let'.\\\",GeneratorInSingleStatementContext:\\\"Generators can only be declared at the top level or inside a block.\\\",IllegalBreakContinue:\\\"Unsyntactic %0.\\\",IllegalLanguageModeDirective:\\\"Illegal 'use strict' directive in function with non-simple parameter list.\\\",IllegalReturn:\\\"'return' outside of function.\\\",ImportBindingIsString:'A string literal cannot be used as an imported binding.\\\\n- Did you mean `import { \\\"%0\\\" as foo }`?',ImportCallArgumentTrailingComma:\\\"Trailing comma is disallowed inside import(...) arguments.\\\",ImportCallArity:\\\"`import()` requires exactly %0.\\\",ImportCallNotNewExpression:\\\"Cannot use new with import(...).\\\",ImportCallSpreadArgument:\\\"`...` is not allowed in `import()`.\\\",InvalidBigIntLiteral:\\\"Invalid BigIntLiteral.\\\",InvalidCodePoint:\\\"Code point out of bounds.\\\",InvalidDecimal:\\\"Invalid decimal.\\\",InvalidDigit:\\\"Expected number in radix %0.\\\",InvalidEscapeSequence:\\\"Bad character escape sequence.\\\",InvalidEscapeSequenceTemplate:\\\"Invalid escape sequence in template.\\\",InvalidEscapedReservedWord:\\\"Escape sequence in keyword %0.\\\",InvalidIdentifier:\\\"Invalid identifier %0.\\\",InvalidLhs:\\\"Invalid left-hand side in %0.\\\",InvalidLhsBinding:\\\"Binding invalid left-hand side in %0.\\\",InvalidNumber:\\\"Invalid number.\\\",InvalidOrMissingExponent:\\\"Floating-point numbers require a valid exponent after the 'e'.\\\",InvalidOrUnexpectedToken:\\\"Unexpected character '%0'.\\\",InvalidParenthesizedAssignment:\\\"Invalid parenthesized assignment pattern.\\\",InvalidPrivateFieldResolution:\\\"Private name #%0 is not defined.\\\",InvalidPropertyBindingPattern:\\\"Binding member expression.\\\",InvalidRecordProperty:\\\"Only properties and spread elements are allowed in record definitions.\\\",InvalidRestAssignmentPattern:\\\"Invalid rest operator's argument.\\\",LabelRedeclaration:\\\"Label '%0' is already declared.\\\",LetInLexicalBinding:\\\"'let' is not allowed to be used as a name in 'let' or 'const' declarations.\\\",LineTerminatorBeforeArrow:\\\"No line break is allowed before '=>'.\\\",MalformedRegExpFlags:\\\"Invalid regular expression flag.\\\",MissingClassName:\\\"A class name is required.\\\",MissingEqInAssignment:\\\"Only '=' operator can be used for specifying default value.\\\",MissingSemicolon:\\\"Missing semicolon.\\\",MissingUnicodeEscape:\\\"Expecting Unicode escape sequence \\\\\\\\uXXXX.\\\",MixingCoalesceWithLogical:\\\"Nullish coalescing operator(??) requires parens when mixing with logical operators.\\\",ModuleAttributeDifferentFromType:\\\"The only accepted module attribute is `type`.\\\",ModuleAttributeInvalidValue:\\\"Only string literals are allowed as module attribute values.\\\",ModuleAttributesWithDuplicateKeys:'Duplicate key \\\"%0\\\" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:\\\"An export name cannot include a lone surrogate, found '\\\\\\\\u%0'.\\\",ModuleExportUndefined:\\\"Export '%0' is not defined.\\\",MultipleDefaultsInSwitch:\\\"Multiple default clauses.\\\",NewlineAfterThrow:\\\"Illegal newline after throw.\\\",NoCatchOrFinally:\\\"Missing catch or finally clause.\\\",NumberIdentifier:\\\"Identifier directly after number.\\\",NumericSeparatorInEscapeSequence:\\\"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.\\\",ObsoleteAwaitStar:\\\"'await*' has been removed from the async functions proposal. Use Promise.all() instead.\\\",OptionalChainingNoNew:\\\"Constructors in/after an Optional Chain are not allowed.\\\",OptionalChainingNoTemplate:\\\"Tagged Template Literals are not allowed in optionalChain.\\\",OverrideOnConstructor:\\\"'override' modifier cannot appear on a constructor declaration.\\\",ParamDupe:\\\"Argument name clash.\\\",PatternHasAccessor:\\\"Object pattern can't contain getter or setter.\\\",PatternHasMethod:\\\"Object pattern can't contain methods.\\\",PipelineBodyNoArrow:'Unexpected arrow \\\"=>\\\" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:\\\"Pipeline body may not be a comma-separated sequence expression.\\\",PipelineHeadSequenceExpression:\\\"Pipeline head should not be a comma-separated sequence expression.\\\",PipelineTopicUnused:\\\"Pipeline is in topic style but does not use topic reference.\\\",PrimaryTopicNotAllowed:\\\"Topic reference was used in a lexical context without topic binding.\\\",PrimaryTopicRequiresSmartPipeline:\\\"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option.\\\",PrivateInExpectedIn:\\\"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).\\\",PrivateNameRedeclaration:\\\"Duplicate private name #%0.\\\",RecordExpressionBarIncorrectEndSyntaxType:\\\"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.\\\",RecordExpressionBarIncorrectStartSyntaxType:\\\"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.\\\",RecordExpressionHashIncorrectStartSyntaxType:\\\"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.\\\",RecordNoProto:\\\"'__proto__' is not allowed in Record expressions.\\\",RestTrailingComma:\\\"Unexpected trailing comma after rest element.\\\",SloppyFunction:\\\"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.\\\",StaticPrototype:\\\"Classes may not have static property named prototype.\\\",StrictDelete:\\\"Deleting local variable in strict mode.\\\",StrictEvalArguments:\\\"Assigning to '%0' in strict mode.\\\",StrictEvalArgumentsBinding:\\\"Binding '%0' in strict mode.\\\",StrictFunction:\\\"In strict mode code, functions can only be declared at top level or inside a block.\\\",StrictNumericEscape:\\\"The only valid numeric escape in strict mode is '\\\\\\\\0'.\\\",StrictOctalLiteral:\\\"Legacy octal literals are not allowed in strict mode.\\\",StrictWith:\\\"'with' in strict mode.\\\",SuperNotAllowed:\\\"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?\\\",SuperPrivateField:\\\"Private fields can't be accessed on super.\\\",TrailingDecorator:\\\"Decorators must be attached to a class element.\\\",TupleExpressionBarIncorrectEndSyntaxType:\\\"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.\\\",TupleExpressionBarIncorrectStartSyntaxType:\\\"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.\\\",TupleExpressionHashIncorrectStartSyntaxType:\\\"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.\\\",UnexpectedArgumentPlaceholder:\\\"Unexpected argument placeholder.\\\",UnexpectedAwaitAfterPipelineBody:'Unexpected \\\"await\\\" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:\\\"Unexpected digit after hash token.\\\",UnexpectedImportExport:\\\"'import' and 'export' may only appear at the top level.\\\",UnexpectedKeyword:\\\"Unexpected keyword '%0'.\\\",UnexpectedLeadingDecorator:\\\"Leading decorators must be attached to a class declaration.\\\",UnexpectedLexicalDeclaration:\\\"Lexical declaration cannot appear in a single-statement context.\\\",UnexpectedNewTarget:\\\"`new.target` can only be used in functions or class properties.\\\",UnexpectedNumericSeparator:\\\"A numeric separator is only allowed between two digits.\\\",UnexpectedPrivateField:\\\"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\\\\n or a property of member expression (i.e. this.#p).\\\",UnexpectedReservedWord:\\\"Unexpected reserved word '%0'.\\\",UnexpectedSuper:\\\"'super' is only allowed in object methods and classes.\\\",UnexpectedToken:\\\"Unexpected token '%0'.\\\",UnexpectedTokenUnaryExponentiation:\\\"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.\\\",UnsupportedBind:\\\"Binding should be performed on object property.\\\",UnsupportedDecoratorExport:\\\"A decorated export must export a class declaration.\\\",UnsupportedDefaultExport:\\\"Only expressions, functions or classes are allowed as the `default` export.\\\",UnsupportedImport:\\\"`import` can only be used in `import()` or `import.meta`.\\\",UnsupportedMetaProperty:\\\"The only valid meta property for %0 is %0.%1.\\\",UnsupportedParameterDecorator:\\\"Decorators cannot be used to decorate parameters.\\\",UnsupportedPropertyDecorator:\\\"Decorators cannot be used to decorate object literal properties.\\\",UnsupportedSuper:\\\"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).\\\",UnterminatedComment:\\\"Unterminated comment.\\\",UnterminatedRegExp:\\\"Unterminated regular expression.\\\",UnterminatedString:\\\"Unterminated string constant.\\\",UnterminatedTemplate:\\\"Unterminated template.\\\",VarRedeclaration:\\\"Identifier '%0' has already been declared.\\\",YieldBindingIdentifier:\\\"Can not use 'yield' as identifier inside a generator.\\\",YieldInParameter:\\\"Yield expression is not allowed in formal parameters.\\\",ZeroDigitNumericSeparator:\\\"Numeric separator can not be used after leading 0.\\\"},x.SyntaxError),P=v({ImportMetaOutsideModule:\\\"import.meta may appear only with 'sourceType: \\\\\\\"module\\\\\\\"'\\\",ImportOutsideModule:\\\"'import' and 'export' may appear only with 'sourceType: \\\\\\\"module\\\\\\\"'\\\"},x.SourceTypeModuleError);function v(e,t){const r={};return Object.keys(e).forEach((n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})})),Object.freeze(r)}class A extends S{getLocationForPosition(e){let t;return t=e===this.state.start?this.state.startLoc:e===this.state.lastTokStart?this.state.lastTokStartLoc:e===this.state.end?this.state.endLoc:e===this.state.lastTokEnd?this.state.lastTokEndLoc:function(e,t){let r,n=1,i=0;for(d.lastIndex=0;(r=d.exec(e))&&r.indexn[t]))+` (${i.line}:${i.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let r=t.length-1;r>=0;r--){const n=t[r];if(n.pos===e)return Object.assign(n,{message:s});if(n.posn[t]))+` (${i.line}:${i.column})`;return this._raise(Object.assign({loc:i,pos:e},t),s)}_raise(e,t){const r=new SyntaxError(t);if(Object.assign(r,e),this.options.errorRecovery)return this.isLookahead||this.state.errors.push(r),r;throw r}}class w{constructor(e,t,r,n){this.token=void 0,this.isExpr=void 0,this.preserveSpace=void 0,this.override=void 0,this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n}}const O={braceStatement:new w(\\\"{\\\",!1),braceExpression:new w(\\\"{\\\",!0),recordExpression:new w(\\\"#{\\\",!0),templateQuasi:new w(\\\"${\\\",!1),parenStatement:new w(\\\"(\\\",!1),parenExpression:new w(\\\"(\\\",!0),template:new w(\\\"`\\\",!0,!0,(e=>e.readTmplToken())),functionExpression:new w(\\\"function\\\",!0),functionStatement:new w(\\\"function\\\",!1)};c.parenR.updateContext=c.braceR.updateContext=function(){if(1===this.state.context.length)return void(this.state.exprAllowed=!0);let e=this.state.context.pop();e===O.braceStatement&&\\\"function\\\"===this.curContext().token&&(e=this.state.context.pop()),this.state.exprAllowed=!e.isExpr},c.name.updateContext=function(e){let t=!1;e!==c.dot&&(\\\"of\\\"!==this.state.value||this.state.exprAllowed||e===c._function||e===c._class||(t=!0)),this.state.exprAllowed=t},c.braceL.updateContext=function(e){this.state.context.push(this.braceIsBlock(e)?O.braceStatement:O.braceExpression),this.state.exprAllowed=!0},c.dollarBraceL.updateContext=function(){this.state.context.push(O.templateQuasi),this.state.exprAllowed=!0},c.parenL.updateContext=function(e){const t=e===c._if||e===c._for||e===c._with||e===c._while;this.state.context.push(t?O.parenStatement:O.parenExpression),this.state.exprAllowed=!0},c.incDec.updateContext=function(){},c._function.updateContext=c._class.updateContext=function(e){!e.beforeExpr||e===c.semi||e===c._else||e===c._return&&this.hasPrecedingLineBreak()||(e===c.colon||e===c.braceL)&&this.curContext()===O.b_stat?this.state.context.push(O.functionStatement):this.state.context.push(O.functionExpression),this.state.exprAllowed=!1},c.backQuote.updateContext=function(){this.curContext()===O.template?this.state.context.pop():this.state.context.push(O.template),this.state.exprAllowed=!1},c.braceHashL.updateContext=function(){this.state.context.push(O.recordExpression),this.state.exprAllowed=!0};let I=\\\"ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ\\\",N=\\\"‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_\\\";const C=new RegExp(\\\"[\\\"+I+\\\"]\\\"),k=new RegExp(\\\"[\\\"+I+N+\\\"]\\\");I=N=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,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,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,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,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,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,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,2357,44,11,6,17,0,370,43,1301,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,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],_=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,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,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function L(e,t){let r=65536;for(let n=0,i=t.length;ne)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function M(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&C.test(String.fromCharCode(e)):L(e,D)))}function j(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&k.test(String.fromCharCode(e)):L(e,D)||L(e,_))))}const F=new Set([\\\"break\\\",\\\"case\\\",\\\"catch\\\",\\\"continue\\\",\\\"debugger\\\",\\\"default\\\",\\\"do\\\",\\\"else\\\",\\\"finally\\\",\\\"for\\\",\\\"function\\\",\\\"if\\\",\\\"return\\\",\\\"switch\\\",\\\"throw\\\",\\\"try\\\",\\\"var\\\",\\\"const\\\",\\\"while\\\",\\\"with\\\",\\\"new\\\",\\\"this\\\",\\\"super\\\",\\\"class\\\",\\\"extends\\\",\\\"export\\\",\\\"import\\\",\\\"null\\\",\\\"true\\\",\\\"false\\\",\\\"in\\\",\\\"instanceof\\\",\\\"typeof\\\",\\\"void\\\",\\\"delete\\\"]),B=new Set([\\\"implements\\\",\\\"interface\\\",\\\"let\\\",\\\"package\\\",\\\"private\\\",\\\"protected\\\",\\\"public\\\",\\\"static\\\",\\\"yield\\\"]),R=new Set([\\\"eval\\\",\\\"arguments\\\"]);function U(e,t){return t&&\\\"await\\\"===e||\\\"enum\\\"===e}function V(e,t){return U(e,t)||B.has(e)}function K(e){return R.has(e)}function q(e,t){return V(e,t)||K(e)}function Y(e){return F.has(e)}const W=/^in(stanceof)?$/;class X{constructor(e){this.flags=void 0,this.var=[],this.lexical=[],this.functions=[],this.flags=e}}class J{constructor(e,t){this.scopeStack=[],this.undefinedExports=new Map,this.undefinedPrivateNames=new Map,this.raise=e,this.inModule=t}get inFunction(){return(2&this.currentVarScope().flags)>0}get allowSuper(){return(16&this.currentThisScope().flags)>0}get allowDirectSuper(){return(32&this.currentThisScope().flags)>0}get inClass(){return(64&this.currentThisScope().flags)>0}get inStaticBlock(){return(128&this.currentThisScope().flags)>0}get inNonArrowFunction(){return(2&this.currentThisScope().flags)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new X(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(2&e.flags||!this.inModule&&1&e.flags)}declareName(e,t,r){let n=this.currentScope();if(8&t||16&t)this.checkRedeclarationInScope(n,e,t,r),16&t?n.functions.push(e):n.lexical.push(e),8&t&&this.maybeExportDefined(n,e);else if(4&t)for(let i=this.scopeStack.length-1;i>=0&&(n=this.scopeStack[i],this.checkRedeclarationInScope(n,e,t,r),n.var.push(e),this.maybeExportDefined(n,e),!(259&n.flags));--i);this.inModule&&1&n.flags&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.inModule&&1&e.flags&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,r,n){this.isRedeclaredInScope(e,t,r)&&this.raise(n,E.VarRedeclaration,t)}isRedeclaredInScope(e,t,r){return!!(1&r)&&(8&r?e.lexical.indexOf(t)>-1||e.functions.indexOf(t)>-1||e.var.indexOf(t)>-1:16&r?e.lexical.indexOf(t)>-1||!this.treatFunctionsAsVarInScope(e)&&e.var.indexOf(t)>-1:e.lexical.indexOf(t)>-1&&!(8&e.flags&&e.lexical[0]===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.indexOf(t)>-1)}checkLocalExport(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&-1===this.scopeStack[0].functions.indexOf(e.name)&&this.undefinedExports.set(e.name,e.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScope(){for(let e=this.scopeStack.length-1;;e--){const t=this.scopeStack[e];if(259&t.flags)return t}}currentThisScope(){for(let e=this.scopeStack.length-1;;e--){const t=this.scopeStack[e];if((259&t.flags||64&t.flags)&&!(4&t.flags))return t}}}class H extends X{constructor(...e){super(...e),this.declareFunctions=[]}}class G extends J{createScope(e){return new H(e)}declareName(e,t,r){const n=this.currentScope();if(2048&t)return this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e),void n.declareFunctions.push(e);super.declareName(...arguments)}isRedeclaredInScope(e,t,r){return!!super.isRedeclaredInScope(...arguments)||!!(2048&r)&&!e.declareFunctions.includes(t)&&(e.lexical.includes(t)||e.functions.includes(t))}checkLocalExport(e){-1===this.scopeStack[0].declareFunctions.indexOf(e.name)&&super.checkLocalExport(e)}}const z=new Set([\\\"_\\\",\\\"any\\\",\\\"bool\\\",\\\"boolean\\\",\\\"empty\\\",\\\"extends\\\",\\\"false\\\",\\\"interface\\\",\\\"mixed\\\",\\\"null\\\",\\\"number\\\",\\\"static\\\",\\\"string\\\",\\\"true\\\",\\\"typeof\\\",\\\"void\\\"]),$=v({AmbiguousConditionalArrow:\\\"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.\\\",AmbiguousDeclareModuleKind:\\\"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.\\\",AssignReservedType:\\\"Cannot overwrite reserved type %0.\\\",DeclareClassElement:\\\"The `declare` modifier can only appear on class fields.\\\",DeclareClassFieldInitializer:\\\"Initializers are not allowed in fields with the `declare` modifier.\\\",DuplicateDeclareModuleExports:\\\"Duplicate `declare module.exports` statement.\\\",EnumBooleanMemberNotInitialized:\\\"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.\\\",EnumDuplicateMemberName:\\\"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.\\\",EnumInconsistentMemberValues:\\\"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.\\\",EnumInvalidExplicitType:\\\"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.\\\",EnumInvalidExplicitTypeUnknownSupplied:\\\"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.\\\",EnumInvalidMemberInitializerPrimaryType:\\\"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.\\\",EnumInvalidMemberInitializerSymbolType:\\\"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.\\\",EnumInvalidMemberInitializerUnknownType:\\\"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.\\\",EnumInvalidMemberName:\\\"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.\\\",EnumNumberMemberNotInitialized:\\\"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.\\\",EnumStringMemberInconsistentlyInitailized:\\\"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.\\\",GetterMayNotHaveThisParam:\\\"A getter cannot have a `this` parameter.\\\",ImportTypeShorthandOnlyInPureImport:\\\"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.\\\",InexactInsideExact:\\\"Explicit inexact syntax cannot appear inside an explicit exact object type.\\\",InexactInsideNonObject:\\\"Explicit inexact syntax cannot appear in class or interface definitions.\\\",InexactVariance:\\\"Explicit inexact syntax cannot have variance.\\\",InvalidNonTypeImportInDeclareModule:\\\"Imports within a `declare module` body must always be `import type` or `import typeof`.\\\",MissingTypeParamDefault:\\\"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.\\\",NestedDeclareModule:\\\"`declare module` cannot be used inside another `declare module`.\\\",NestedFlowComment:\\\"Cannot have a flow comment inside another flow comment.\\\",OptionalBindingPattern:\\\"A binding pattern parameter cannot be optional in an implementation signature.\\\",SetterMayNotHaveThisParam:\\\"A setter cannot have a `this` parameter.\\\",SpreadVariance:\\\"Spread properties cannot have variance.\\\",ThisParamAnnotationRequired:\\\"A type annotation is required for the `this` parameter.\\\",ThisParamBannedInConstructor:\\\"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.\\\",ThisParamMayNotBeOptional:\\\"The `this` parameter cannot be optional.\\\",ThisParamMustBeFirst:\\\"The `this` parameter must be the first function parameter.\\\",ThisParamNoDefault:\\\"The `this` parameter may not have a default value.\\\",TypeBeforeInitializer:\\\"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.\\\",TypeCastInPattern:\\\"The type cast expression is expected to be wrapped with parenthesis.\\\",UnexpectedExplicitInexactInObject:\\\"Explicit inexact syntax must appear at the end of an inexact object.\\\",UnexpectedReservedType:\\\"Unexpected reserved type %0.\\\",UnexpectedReservedUnderscore:\\\"`_` is only allowed as a type argument to call or new.\\\",UnexpectedSpaceBetweenModuloChecks:\\\"Spaces between `%` and `checks` are not allowed here.\\\",UnexpectedSpreadType:\\\"Spread operator cannot appear in class or interface definitions.\\\",UnexpectedSubtractionOperand:'Unexpected token, expected \\\"number\\\" or \\\"bigint\\\".',UnexpectedTokenAfterTypeParameter:\\\"Expected an arrow function after this type parameter declaration.\\\",UnexpectedTypeParameterBeforeAsyncArrowFunction:\\\"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.\\\",UnsupportedDeclareExportKind:\\\"`declare export %0` is not supported. Use `%1` instead.\\\",UnsupportedStatementInDeclareModule:\\\"Only declares and type imports are allowed inside declare module.\\\",UnterminatedFlowComment:\\\"Unterminated flow-comment.\\\"},x.SyntaxError);function Q(e){return\\\"type\\\"===e.importKind||\\\"typeof\\\"===e.importKind}function Z(e){return(e.type===c.name||!!e.type.keyword)&&\\\"from\\\"!==e.value}const ee={const:\\\"declare export var\\\",let:\\\"declare export var\\\",type:\\\"export type\\\",interface:\\\"export interface\\\"},te=/\\\\*?\\\\s*@((?:no)?flow)\\\\b/,re={quot:'\\\"',amp:\\\"&\\\",apos:\\\"'\\\",lt:\\\"<\\\",gt:\\\">\\\",nbsp:\\\" \\\",iexcl:\\\"¡\\\",cent:\\\"¢\\\",pound:\\\"£\\\",curren:\\\"¤\\\",yen:\\\"¥\\\",brvbar:\\\"¦\\\",sect:\\\"§\\\",uml:\\\"¨\\\",copy:\\\"©\\\",ordf:\\\"ª\\\",laquo:\\\"«\\\",not:\\\"¬\\\",shy:\\\"­\\\",reg:\\\"®\\\",macr:\\\"¯\\\",deg:\\\"°\\\",plusmn:\\\"±\\\",sup2:\\\"²\\\",sup3:\\\"³\\\",acute:\\\"´\\\",micro:\\\"µ\\\",para:\\\"¶\\\",middot:\\\"·\\\",cedil:\\\"¸\\\",sup1:\\\"¹\\\",ordm:\\\"º\\\",raquo:\\\"»\\\",frac14:\\\"¼\\\",frac12:\\\"½\\\",frac34:\\\"¾\\\",iquest:\\\"¿\\\",Agrave:\\\"À\\\",Aacute:\\\"Á\\\",Acirc:\\\"Â\\\",Atilde:\\\"Ã\\\",Auml:\\\"Ä\\\",Aring:\\\"Å\\\",AElig:\\\"Æ\\\",Ccedil:\\\"Ç\\\",Egrave:\\\"È\\\",Eacute:\\\"É\\\",Ecirc:\\\"Ê\\\",Euml:\\\"Ë\\\",Igrave:\\\"Ì\\\",Iacute:\\\"Í\\\",Icirc:\\\"Î\\\",Iuml:\\\"Ï\\\",ETH:\\\"Ð\\\",Ntilde:\\\"Ñ\\\",Ograve:\\\"Ò\\\",Oacute:\\\"Ó\\\",Ocirc:\\\"Ô\\\",Otilde:\\\"Õ\\\",Ouml:\\\"Ö\\\",times:\\\"×\\\",Oslash:\\\"Ø\\\",Ugrave:\\\"Ù\\\",Uacute:\\\"Ú\\\",Ucirc:\\\"Û\\\",Uuml:\\\"Ü\\\",Yacute:\\\"Ý\\\",THORN:\\\"Þ\\\",szlig:\\\"ß\\\",agrave:\\\"à\\\",aacute:\\\"á\\\",acirc:\\\"â\\\",atilde:\\\"ã\\\",auml:\\\"ä\\\",aring:\\\"å\\\",aelig:\\\"æ\\\",ccedil:\\\"ç\\\",egrave:\\\"è\\\",eacute:\\\"é\\\",ecirc:\\\"ê\\\",euml:\\\"ë\\\",igrave:\\\"ì\\\",iacute:\\\"í\\\",icirc:\\\"î\\\",iuml:\\\"ï\\\",eth:\\\"ð\\\",ntilde:\\\"ñ\\\",ograve:\\\"ò\\\",oacute:\\\"ó\\\",ocirc:\\\"ô\\\",otilde:\\\"õ\\\",ouml:\\\"ö\\\",divide:\\\"÷\\\",oslash:\\\"ø\\\",ugrave:\\\"ù\\\",uacute:\\\"ú\\\",ucirc:\\\"û\\\",uuml:\\\"ü\\\",yacute:\\\"ý\\\",thorn:\\\"þ\\\",yuml:\\\"ÿ\\\",OElig:\\\"Œ\\\",oelig:\\\"œ\\\",Scaron:\\\"Š\\\",scaron:\\\"š\\\",Yuml:\\\"Ÿ\\\",fnof:\\\"ƒ\\\",circ:\\\"ˆ\\\",tilde:\\\"˜\\\",Alpha:\\\"Α\\\",Beta:\\\"Β\\\",Gamma:\\\"Γ\\\",Delta:\\\"Δ\\\",Epsilon:\\\"Ε\\\",Zeta:\\\"Ζ\\\",Eta:\\\"Η\\\",Theta:\\\"Θ\\\",Iota:\\\"Ι\\\",Kappa:\\\"Κ\\\",Lambda:\\\"Λ\\\",Mu:\\\"Μ\\\",Nu:\\\"Ν\\\",Xi:\\\"Ξ\\\",Omicron:\\\"Ο\\\",Pi:\\\"Π\\\",Rho:\\\"Ρ\\\",Sigma:\\\"Σ\\\",Tau:\\\"Τ\\\",Upsilon:\\\"Υ\\\",Phi:\\\"Φ\\\",Chi:\\\"Χ\\\",Psi:\\\"Ψ\\\",Omega:\\\"Ω\\\",alpha:\\\"α\\\",beta:\\\"β\\\",gamma:\\\"γ\\\",delta:\\\"δ\\\",epsilon:\\\"ε\\\",zeta:\\\"ζ\\\",eta:\\\"η\\\",theta:\\\"θ\\\",iota:\\\"ι\\\",kappa:\\\"κ\\\",lambda:\\\"λ\\\",mu:\\\"μ\\\",nu:\\\"ν\\\",xi:\\\"ξ\\\",omicron:\\\"ο\\\",pi:\\\"π\\\",rho:\\\"ρ\\\",sigmaf:\\\"ς\\\",sigma:\\\"σ\\\",tau:\\\"τ\\\",upsilon:\\\"υ\\\",phi:\\\"φ\\\",chi:\\\"χ\\\",psi:\\\"ψ\\\",omega:\\\"ω\\\",thetasym:\\\"ϑ\\\",upsih:\\\"ϒ\\\",piv:\\\"ϖ\\\",ensp:\\\" \\\",emsp:\\\" \\\",thinsp:\\\" \\\",zwnj:\\\"‌\\\",zwj:\\\"‍\\\",lrm:\\\"‎\\\",rlm:\\\"‏\\\",ndash:\\\"–\\\",mdash:\\\"—\\\",lsquo:\\\"‘\\\",rsquo:\\\"’\\\",sbquo:\\\"‚\\\",ldquo:\\\"“\\\",rdquo:\\\"”\\\",bdquo:\\\"„\\\",dagger:\\\"†\\\",Dagger:\\\"‡\\\",bull:\\\"•\\\",hellip:\\\"…\\\",permil:\\\"‰\\\",prime:\\\"′\\\",Prime:\\\"″\\\",lsaquo:\\\"‹\\\",rsaquo:\\\"›\\\",oline:\\\"‾\\\",frasl:\\\"⁄\\\",euro:\\\"€\\\",image:\\\"ℑ\\\",weierp:\\\"℘\\\",real:\\\"ℜ\\\",trade:\\\"™\\\",alefsym:\\\"ℵ\\\",larr:\\\"←\\\",uarr:\\\"↑\\\",rarr:\\\"→\\\",darr:\\\"↓\\\",harr:\\\"↔\\\",crarr:\\\"↵\\\",lArr:\\\"⇐\\\",uArr:\\\"⇑\\\",rArr:\\\"⇒\\\",dArr:\\\"⇓\\\",hArr:\\\"⇔\\\",forall:\\\"∀\\\",part:\\\"∂\\\",exist:\\\"∃\\\",empty:\\\"∅\\\",nabla:\\\"∇\\\",isin:\\\"∈\\\",notin:\\\"∉\\\",ni:\\\"∋\\\",prod:\\\"∏\\\",sum:\\\"∑\\\",minus:\\\"−\\\",lowast:\\\"∗\\\",radic:\\\"√\\\",prop:\\\"∝\\\",infin:\\\"∞\\\",ang:\\\"∠\\\",and:\\\"∧\\\",or:\\\"∨\\\",cap:\\\"∩\\\",cup:\\\"∪\\\",int:\\\"∫\\\",there4:\\\"∴\\\",sim:\\\"∼\\\",cong:\\\"≅\\\",asymp:\\\"≈\\\",ne:\\\"≠\\\",equiv:\\\"≡\\\",le:\\\"≤\\\",ge:\\\"≥\\\",sub:\\\"⊂\\\",sup:\\\"⊃\\\",nsub:\\\"⊄\\\",sube:\\\"⊆\\\",supe:\\\"⊇\\\",oplus:\\\"⊕\\\",otimes:\\\"⊗\\\",perp:\\\"⊥\\\",sdot:\\\"⋅\\\",lceil:\\\"⌈\\\",rceil:\\\"⌉\\\",lfloor:\\\"⌊\\\",rfloor:\\\"⌋\\\",lang:\\\"〈\\\",rang:\\\"〉\\\",loz:\\\"◊\\\",spades:\\\"♠\\\",clubs:\\\"♣\\\",hearts:\\\"♥\\\",diams:\\\"♦\\\"},ne=/^[\\\\da-fA-F]+$/,ie=/^\\\\d+$/,se=v({AttributeIsEmpty:\\\"JSX attributes must only be assigned a non-empty expression.\\\",MissingClosingTagElement:\\\"Expected corresponding JSX closing tag for <%0>.\\\",MissingClosingTagFragment:\\\"Expected corresponding JSX closing tag for <>.\\\",UnexpectedSequenceExpression:\\\"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?\\\",UnsupportedJsxValue:\\\"JSX value should be either an expression or a quoted JSX text.\\\",UnterminatedJsxContent:\\\"Unterminated JSX contents.\\\",UnwrappedAdjacentJSXElements:\\\"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?\\\"},x.SyntaxError);function ae(e){return!!e&&(\\\"JSXOpeningFragment\\\"===e.type||\\\"JSXClosingFragment\\\"===e.type)}function oe(e){if(\\\"JSXIdentifier\\\"===e.type)return e.name;if(\\\"JSXNamespacedName\\\"===e.type)return e.namespace.name+\\\":\\\"+e.name.name;if(\\\"JSXMemberExpression\\\"===e.type)return oe(e.object)+\\\".\\\"+oe(e.property);throw new Error(\\\"Node had unexpected type: \\\"+e.type)}O.j_oTag=new w(\\\"...\\\",!0,!0),c.jsxName=new a(\\\"jsxName\\\"),c.jsxText=new a(\\\"jsxText\\\",{beforeExpr:!0}),c.jsxTagStart=new a(\\\"jsxTagStart\\\",{startsExpr:!0}),c.jsxTagEnd=new a(\\\"jsxTagEnd\\\"),c.jsxTagStart.updateContext=function(){this.state.context.push(O.j_expr),this.state.context.push(O.j_oTag),this.state.exprAllowed=!1},c.jsxTagEnd.updateContext=function(e){const t=this.state.context.pop();t===O.j_oTag&&e===c.slash||t===O.j_cTag?(this.state.context.pop(),this.state.exprAllowed=this.curContext()===O.j_expr):this.state.exprAllowed=!0};class le extends X{constructor(...e){super(...e),this.types=[],this.enums=[],this.constEnums=[],this.classes=[],this.exportOnlyBindings=[]}}class pe extends J{createScope(e){return new le(e)}declareName(e,t,r){const n=this.currentScope();if(1024&t)return this.maybeExportDefined(n,e),void n.exportOnlyBindings.push(e);super.declareName(...arguments),2&t&&(1&t||(this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e)),n.types.push(e)),256&t&&n.enums.push(e),512&t&&n.constEnums.push(e),128&t&&n.classes.push(e)}isRedeclaredInScope(e,t,r){return e.enums.indexOf(t)>-1?!(256&r)||!!(512&r)!=e.constEnums.indexOf(t)>-1:128&r&&e.classes.indexOf(t)>-1?e.lexical.indexOf(t)>-1&&!!(1&r):!!(2&r&&e.types.indexOf(t)>-1)||super.isRedeclaredInScope(...arguments)}checkLocalExport(e){-1===this.scopeStack[0].types.indexOf(e.name)&&-1===this.scopeStack[0].exportOnlyBindings.indexOf(e.name)&&super.checkLocalExport(e)}}class ce{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function ue(e,t){return(e?2:0)|(t?1:0)}function de(e){if(null==e)throw new Error(`Unexpected ${e} value.`);return e}function he(e){if(!e)throw new Error(\\\"Assert fail\\\")}const fe=v({AbstractMethodHasImplementation:\\\"Method '%0' cannot have an implementation because it is marked abstract.\\\",AccesorCannotDeclareThisParameter:\\\"'get' and 'set' accessors cannot declare 'this' parameters.\\\",AccesorCannotHaveTypeParameters:\\\"An accessor cannot have type parameters.\\\",ClassMethodHasDeclare:\\\"Class methods cannot have the 'declare' modifier.\\\",ClassMethodHasReadonly:\\\"Class methods cannot have the 'readonly' modifier.\\\",ConstructorHasTypeParameters:\\\"Type parameters cannot appear on a constructor declaration.\\\",DeclareAccessor:\\\"'declare' is not allowed in %0ters.\\\",DeclareClassFieldHasInitializer:\\\"Initializers are not allowed in ambient contexts.\\\",DeclareFunctionHasImplementation:\\\"An implementation cannot be declared in ambient contexts.\\\",DuplicateAccessibilityModifier:\\\"Accessibility modifier already seen.\\\",DuplicateModifier:\\\"Duplicate modifier: '%0'.\\\",EmptyHeritageClauseType:\\\"'%0' list cannot be empty.\\\",EmptyTypeArguments:\\\"Type argument list cannot be empty.\\\",EmptyTypeParameters:\\\"Type parameter list cannot be empty.\\\",ExpectedAmbientAfterExportDeclare:\\\"'export declare' must be followed by an ambient declaration.\\\",ImportAliasHasImportType:\\\"An import alias can not use 'import type'.\\\",IncompatibleModifiers:\\\"'%0' modifier cannot be used with '%1' modifier.\\\",IndexSignatureHasAbstract:\\\"Index signatures cannot have the 'abstract' modifier.\\\",IndexSignatureHasAccessibility:\\\"Index signatures cannot have an accessibility modifier ('%0').\\\",IndexSignatureHasDeclare:\\\"Index signatures cannot have the 'declare' modifier.\\\",IndexSignatureHasOverride:\\\"'override' modifier cannot appear on an index signature.\\\",IndexSignatureHasStatic:\\\"Index signatures cannot have the 'static' modifier.\\\",InvalidModifierOnTypeMember:\\\"'%0' modifier cannot appear on a type member.\\\",InvalidModifiersOrder:\\\"'%0' modifier must precede '%1' modifier.\\\",InvalidTupleMemberLabel:\\\"Tuple members must be labeled with a simple identifier.\\\",MixedLabeledAndUnlabeledElements:\\\"Tuple members must all have names or all not have names.\\\",NonAbstractClassHasAbstractMethod:\\\"Abstract methods can only appear within an abstract class.\\\",NonClassMethodPropertyHasAbstractModifer:\\\"'abstract' modifier can only appear on a class, method, or property declaration.\\\",OptionalTypeBeforeRequired:\\\"A required element cannot follow an optional element.\\\",OverrideNotInSubClass:\\\"This member cannot have an 'override' modifier because its containing class does not extend another class.\\\",PatternIsOptional:\\\"A binding pattern parameter cannot be optional in an implementation signature.\\\",PrivateElementHasAbstract:\\\"Private elements cannot have the 'abstract' modifier.\\\",PrivateElementHasAccessibility:\\\"Private elements cannot have an accessibility modifier ('%0').\\\",ReadonlyForMethodSignature:\\\"'readonly' modifier can only appear on a property declaration or index signature.\\\",SetAccesorCannotHaveOptionalParameter:\\\"A 'set' accessor cannot have an optional parameter.\\\",SetAccesorCannotHaveRestParameter:\\\"A 'set' accessor cannot have rest parameter.\\\",SetAccesorCannotHaveReturnType:\\\"A 'set' accessor cannot have a return type annotation.\\\",StaticBlockCannotHaveModifier:\\\"Static class blocks cannot have any modifier.\\\",TypeAnnotationAfterAssign:\\\"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.\\\",TypeImportCannotSpecifyDefaultAndNamed:\\\"A type-only import can specify a default import or named bindings, but not both.\\\",UnexpectedParameterModifier:\\\"A parameter property is only allowed in a constructor implementation.\\\",UnexpectedReadonly:\\\"'readonly' type modifier is only permitted on array and tuple literal types.\\\",UnexpectedTypeAnnotation:\\\"Did not expect a type annotation here.\\\",UnexpectedTypeCastInParameter:\\\"Unexpected type cast in parameter position.\\\",UnsupportedImportTypeArgument:\\\"Argument in a type import must be a string literal.\\\",UnsupportedParameterPropertyKind:\\\"A parameter property may not be declared using a binding pattern.\\\",UnsupportedSignatureParameterKind:\\\"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0.\\\"},x.SyntaxError);function me(e){return\\\"private\\\"===e||\\\"public\\\"===e||\\\"protected\\\"===e}c.placeholder=new a(\\\"%%\\\",{startsExpr:!0});const ye=v({ClassNameIsRequired:\\\"A class name is required.\\\"},x.SyntaxError);function Te(e,t){return e.some((e=>Array.isArray(e)?e[0]===t:e===t))}function be(e,t,r){const n=e.find((e=>Array.isArray(e)?e[0]===t:e===t));return n&&Array.isArray(n)?n[1][r]:null}const ge=[\\\"minimal\\\",\\\"smart\\\",\\\"fsharp\\\"],Se=[\\\"hash\\\",\\\"bar\\\"],xe={estree:e=>class extends e{estreeParseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);return n.regex={pattern:e,flags:t},n}estreeParseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);return r.bigint=String(r.value||e),r}estreeParseDecimalLiteral(e){const t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}estreeParseLiteral(e){return this.parseLiteral(e,\\\"Literal\\\")}directiveToStmt(e){const t=e.value,r=this.startNodeAt(e.start,e.loc.start),n=this.startNodeAt(t.start,t.loc.start);return n.value=t.extra.expressionValue,n.raw=t.extra.raw,r.expression=this.finishNodeAt(n,\\\"Literal\\\",t.end,t.loc.end),r.directive=t.extra.raw.slice(1,-1),this.finishNodeAt(r,\\\"ExpressionStatement\\\",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return\\\"ExpressionStatement\\\"===e.type&&\\\"Literal\\\"===e.expression.type&&\\\"string\\\"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e),r=e.expression.value;return this.addExtra(t.value,\\\"expressionValue\\\",r),t}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const r=e.directives.map((e=>this.directiveToStmt(e)));e.body=r.concat(e.body),delete e.directives}pushClassMethod(e,t,r,n,i,s){this.parseMethod(t,r,n,i,s,\\\"ClassMethod\\\",!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parseExprAtom(e){switch(this.state.type){case c.num:case c.string:return this.estreeParseLiteral(this.state.value);case c.regexp:return this.estreeParseRegExpLiteral(this.state.value);case c.bigint:return this.estreeParseBigIntLiteral(this.state.value);case c.decimal:return this.estreeParseDecimalLiteral(this.state.value);case c._null:return this.estreeParseLiteral(null);case c._true:return this.estreeParseLiteral(!0);case c._false:return this.estreeParseLiteral(!1);default:return super.parseExprAtom(e)}}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);return\\\"PrivateName\\\"===t.type&&this.getPluginOption(\\\"estree\\\",\\\"classFeatures\\\")?this.convertPrivateNameToPrivateIdentifier(t):t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);return delete e.id,e.name=t,e.type=\\\"PrivateIdentifier\\\",e}isPrivateName(e){return this.getPluginOption(\\\"estree\\\",\\\"classFeatures\\\")?\\\"PrivateIdentifier\\\"===e.type:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption(\\\"estree\\\",\\\"classFeatures\\\")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t,r,n){const i=super.parseLiteral(e,t,r,n);return i.raw=i.extra.raw,delete i.extra,i}parseFunctionBody(e,t,r=!1){super.parseFunctionBody(e,t,r),e.expression=\\\"BlockStatement\\\"!==e.body.type}parseMethod(e,t,r,n,i,s,a=!1){let o=this.startNode();return o.kind=e.kind,o=super.parseMethod(o,t,r,n,i,s,a),o.type=\\\"FunctionExpression\\\",delete o.kind,e.value=o,\\\"ClassPrivateMethod\\\"===s&&(e.computed=!1),s=\\\"MethodDefinition\\\",this.finishNode(e,s)}parseClassProperty(...e){const t=super.parseClassProperty(...e);return this.getPluginOption(\\\"estree\\\",\\\"classFeatures\\\")&&(t.type=\\\"PropertyDefinition\\\"),t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);return this.getPluginOption(\\\"estree\\\",\\\"classFeatures\\\")&&(t.type=\\\"PropertyDefinition\\\",t.computed=!1),t}parseObjectMethod(e,t,r,n,i){const s=super.parseObjectMethod(e,t,r,n,i);return s&&(s.type=\\\"Property\\\",\\\"method\\\"===s.kind&&(s.kind=\\\"init\\\"),s.shorthand=!1),s}parseObjectProperty(e,t,r,n,i){const s=super.parseObjectProperty(e,t,r,n,i);return s&&(s.kind=\\\"init\\\",s.type=\\\"Property\\\"),s}toAssignable(e,t=!1){return null!=e&&this.isObjectProperty(e)?(this.toAssignable(e.value,t),e):super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){\\\"get\\\"===e.kind||\\\"set\\\"===e.kind?this.raise(e.key.start,E.PatternHasAccessor):e.method?this.raise(e.key.start,E.PatternHasMethod):super.toAssignableObjectExpressionProp(e,...t)}finishCallExpression(e,t){var r;(super.finishCallExpression(e,t),\\\"Import\\\"===e.callee.type)&&(e.type=\\\"ImportExpression\\\",e.source=e.arguments[0],this.hasPlugin(\\\"importAssertions\\\")&&(e.attributes=null!=(r=e.arguments[1])?r:null),delete e.arguments,delete e.callee);return e}toReferencedArguments(e){\\\"ImportExpression\\\"!==e.type&&super.toReferencedArguments(e)}parseExport(e){switch(super.parseExport(e),e.type){case\\\"ExportAllDeclaration\\\":e.exported=null;break;case\\\"ExportNamedDeclaration\\\":1===e.specifiers.length&&\\\"ExportNamespaceSpecifier\\\"===e.specifiers[0].type&&(e.type=\\\"ExportAllDeclaration\\\",e.exported=e.specifiers[0].exported,delete e.specifiers)}return e}parseSubscript(e,t,r,n,i){const s=super.parseSubscript(e,t,r,n,i);if(i.optionalChainMember){if(\\\"OptionalMemberExpression\\\"!==s.type&&\\\"OptionalCallExpression\\\"!==s.type||(s.type=s.type.substring(8)),i.stop){const e=this.startNodeAtNode(s);return e.expression=s,this.finishNode(e,\\\"ChainExpression\\\")}}else\\\"MemberExpression\\\"!==s.type&&\\\"CallExpression\\\"!==s.type||(s.optional=!1);return s}hasPropertyAsPrivateName(e){return\\\"ChainExpression\\\"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return\\\"ChainExpression\\\"===e.type}isObjectProperty(e){return\\\"Property\\\"===e.type&&\\\"init\\\"===e.kind&&!e.method}isObjectMethod(e){return e.method||\\\"get\\\"===e.kind||\\\"set\\\"===e.kind}},jsx:e=>class extends e{jsxReadToken(){let e=\\\"\\\",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,se.UnterminatedJsxContent);const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?60===r&&this.state.exprAllowed?(++this.state.pos,this.finishToken(c.jsxTagStart)):super.getTokenFromCode(r):(e+=this.input.slice(t,this.state.pos),this.finishToken(c.jsxText,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:h(r)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;return++this.state.pos,13===t&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,r=e?\\\"\\\\n\\\":\\\"\\\\r\\\\n\\\"):r=String.fromCharCode(t),++this.state.curLine,this.state.lineStart=this.state.pos,r}jsxReadString(e){let t=\\\"\\\",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,E.UnterminatedString);const n=this.input.charCodeAt(this.state.pos);if(n===e)break;38===n?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):h(n)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}return t+=this.input.slice(r,this.state.pos++),this.finishToken(c.string,t)}jsxReadEntity(){let e,t=\\\"\\\",r=0,n=this.input[this.state.pos];const i=++this.state.pos;for(;this.state.posclass extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return G}shouldParseTypes(){return this.getPluginOption(\\\"flow\\\",\\\"all\\\")||\\\"flow\\\"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption(\\\"flow\\\",\\\"enums\\\")}finishToken(e,t){return e!==c.string&&e!==c.semi&&e!==c.interpreterDirective&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){const t=te.exec(e.value);if(t)if(\\\"flow\\\"===t[1])this.flowPragma=\\\"flow\\\";else{if(\\\"noflow\\\"!==t[1])throw new Error(\\\"Unexpected flow pragma\\\");this.flowPragma=\\\"noflow\\\"}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=!0,this.expect(e||c.colon);const r=this.flowParseType();return this.state.inType=t,r}flowParsePredicate(){const e=this.startNode(),t=this.state.start;return this.next(),this.expectContextual(\\\"checks\\\"),this.state.lastTokStart>t+1&&this.raise(t,$.UnexpectedSpaceBetweenModuloChecks),this.eat(c.parenL)?(e.value=this.parseExpression(),this.expect(c.parenR),this.finishNode(e,\\\"DeclaredPredicate\\\")):this.finishNode(e,\\\"InferredPredicate\\\")}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=!0,this.expect(c.colon);let t=null,r=null;return this.match(c.modulo)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(c.modulo)&&(r=this.flowParsePredicate())),[t,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,\\\"DeclareClass\\\")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier(),r=this.startNode(),n=this.startNode();this.isRelational(\\\"<\\\")?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(c.parenL);const i=this.flowParseFunctionTypeParams();return r.params=i.params,r.rest=i.rest,r.this=i._this,this.expect(c.parenR),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.typeAnnotation=this.finishNode(r,\\\"FunctionTypeAnnotation\\\"),t.typeAnnotation=this.finishNode(n,\\\"TypeAnnotation\\\"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.start),this.finishNode(e,\\\"DeclareFunction\\\")}flowParseDeclare(e,t){if(this.match(c._class))return this.flowParseDeclareClass(e);if(this.match(c._function))return this.flowParseDeclareFunction(e);if(this.match(c._var))return this.flowParseDeclareVariable(e);if(this.eatContextual(\\\"module\\\"))return this.match(c.dot)?this.flowParseDeclareModuleExports(e):(t&&this.raise(this.state.lastTokStart,$.NestedDeclareModule),this.flowParseDeclareModule(e));if(this.isContextual(\\\"type\\\"))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(\\\"opaque\\\"))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(\\\"interface\\\"))return this.flowParseDeclareInterface(e);if(this.match(c._export))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.start),this.semicolon(),this.finishNode(e,\\\"DeclareVariable\\\")}flowParseDeclareModule(e){this.scope.enter(0),this.match(c.string)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();const t=e.body=this.startNode(),r=t.body=[];for(this.expect(c.braceL);!this.match(c.braceR);){let e=this.startNode();this.match(c._import)?(this.next(),this.isContextual(\\\"type\\\")||this.match(c._typeof)||this.raise(this.state.lastTokStart,$.InvalidNonTypeImportInDeclareModule),this.parseImport(e)):(this.expectContextual(\\\"declare\\\",$.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),r.push(e)}this.scope.exit(),this.expect(c.braceR),this.finishNode(t,\\\"BlockStatement\\\");let n=null,i=!1;return r.forEach((e=>{!function(e){return\\\"DeclareExportAllDeclaration\\\"===e.type||\\\"DeclareExportDeclaration\\\"===e.type&&(!e.declaration||\\\"TypeAlias\\\"!==e.declaration.type&&\\\"InterfaceDeclaration\\\"!==e.declaration.type)}(e)?\\\"DeclareModuleExports\\\"===e.type&&(i&&this.raise(e.start,$.DuplicateDeclareModuleExports),\\\"ES\\\"===n&&this.raise(e.start,$.AmbiguousDeclareModuleKind),n=\\\"CommonJS\\\",i=!0):(\\\"CommonJS\\\"===n&&this.raise(e.start,$.AmbiguousDeclareModuleKind),n=\\\"ES\\\")})),e.kind=n||\\\"CommonJS\\\",this.finishNode(e,\\\"DeclareModule\\\")}flowParseDeclareExportDeclaration(e,t){if(this.expect(c._export),this.eat(c._default))return this.match(c._function)||this.match(c._class)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,\\\"DeclareExportDeclaration\\\");if(this.match(c._const)||this.isLet()||(this.isContextual(\\\"type\\\")||this.isContextual(\\\"interface\\\"))&&!t){const e=this.state.value,t=ee[e];throw this.raise(this.state.start,$.UnsupportedDeclareExportKind,e,t)}if(this.match(c._var)||this.match(c._function)||this.match(c._class)||this.isContextual(\\\"opaque\\\"))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,\\\"DeclareExportDeclaration\\\");if(this.match(c.star)||this.match(c.braceL)||this.isContextual(\\\"interface\\\")||this.isContextual(\\\"type\\\")||this.isContextual(\\\"opaque\\\"))return\\\"ExportNamedDeclaration\\\"===(e=this.parseExport(e)).type&&(e.type=\\\"ExportDeclaration\\\",e.default=!1,delete e.exportKind),e.type=\\\"Declare\\\"+e.type,e;throw this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(\\\"exports\\\"),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,\\\"DeclareModuleExports\\\")}flowParseDeclareTypeAlias(e){return this.next(),this.flowParseTypeAlias(e),e.type=\\\"DeclareTypeAlias\\\",e}flowParseDeclareOpaqueType(e){return this.next(),this.flowParseOpaqueType(e,!0),e.type=\\\"DeclareOpaqueType\\\",e}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,\\\"DeclareInterface\\\")}flowParseInterfaceish(e,t=!1){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:9,e.id.start),this.isRelational(\\\"<\\\")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(c._extends))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(c.comma));if(this.isContextual(\\\"mixins\\\")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}if(this.isContextual(\\\"implements\\\")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){const e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.isRelational(\\\"<\\\")?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,\\\"InterfaceExtends\\\")}flowParseInterface(e){return this.flowParseInterfaceish(e),this.finishNode(e,\\\"InterfaceDeclaration\\\")}checkNotUnderscore(e){\\\"_\\\"===e&&this.raise(this.state.start,$.UnexpectedReservedUnderscore)}checkReservedType(e,t,r){z.has(e)&&this.raise(t,r?$.AssignReservedType:$.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.start,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,9,e.id.start),this.isRelational(\\\"<\\\")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(c.eq),this.semicolon(),this.finishNode(e,\\\"TypeAlias\\\")}flowParseOpaqueType(e,t){return this.expectContextual(\\\"type\\\"),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,9,e.id.start),this.isRelational(\\\"<\\\")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(c.colon)&&(e.supertype=this.flowParseTypeInitialiser(c.colon)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(c.eq)),this.semicolon(),this.finishNode(e,\\\"OpaqueType\\\")}flowParseTypeParameter(e=!1){const t=this.state.start,r=this.startNode(),n=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return r.name=i.name,r.variance=n,r.bound=i.typeAnnotation,this.match(c.eq)?(this.eat(c.eq),r.default=this.flowParseType()):e&&this.raise(t,$.MissingTypeParamDefault),this.finishNode(r,\\\"TypeParameter\\\")}flowParseTypeParameterDeclaration(){const e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.isRelational(\\\"<\\\")||this.match(c.jsxTagStart)?this.next():this.unexpected();let r=!1;do{const e=this.flowParseTypeParameter(r);t.params.push(e),e.default&&(r=!0),this.isRelational(\\\">\\\")||this.expect(c.comma)}while(!this.isRelational(\\\">\\\"));return this.expectRelational(\\\">\\\"),this.state.inType=e,this.finishNode(t,\\\"TypeParameterDeclaration\\\")}flowParseTypeParameterInstantiation(){const e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expectRelational(\\\"<\\\");const r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.isRelational(\\\">\\\");)e.params.push(this.flowParseType()),this.isRelational(\\\">\\\")||this.expect(c.comma);return this.state.noAnonFunctionType=r,this.expectRelational(\\\">\\\"),this.state.inType=t,this.finishNode(e,\\\"TypeParameterInstantiation\\\")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expectRelational(\\\"<\\\");!this.isRelational(\\\">\\\");)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.isRelational(\\\">\\\")||this.expect(c.comma);return this.expectRelational(\\\">\\\"),this.state.inType=t,this.finishNode(e,\\\"TypeParameterInstantiation\\\")}flowParseInterfaceType(){const e=this.startNode();if(this.expectContextual(\\\"interface\\\"),e.extends=[],this.eat(c._extends))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,\\\"InterfaceTypeAnnotation\\\")}flowParseObjectPropertyKey(){return this.match(c.num)||this.match(c.string)?this.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,r){return e.static=t,this.lookahead().type===c.colon?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(c.bracketR),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,\\\"ObjectTypeIndexer\\\")}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(c.bracketR),this.expect(c.bracketR),this.isRelational(\\\"<\\\")||this.match(c.parenL)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))):(e.method=!1,this.eat(c.question)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,\\\"ObjectTypeInternalSlot\\\")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.isRelational(\\\"<\\\")&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(c.parenL),this.match(c._this)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(c.parenR)||this.expect(c.comma));!this.match(c.parenR)&&!this.match(c.ellipsis);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(c.parenR)||this.expect(c.comma);return this.eat(c.ellipsis)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(c.parenR),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,\\\"FunctionTypeAnnotation\\\")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,\\\"ObjectTypeCallProperty\\\")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:i}){const s=this.state.inType;this.state.inType=!0;const a=this.startNode();let o,l;a.callProperties=[],a.properties=[],a.indexers=[],a.internalSlots=[];let p=!1;for(t&&this.match(c.braceBarL)?(this.expect(c.braceBarL),o=c.braceBarR,l=!0):(this.expect(c.braceL),o=c.braceR,l=!1),a.exact=l;!this.match(o);){let t=!1,s=null,o=null;const u=this.startNode();if(n&&this.isContextual(\\\"proto\\\")){const t=this.lookahead();t.type!==c.colon&&t.type!==c.question&&(this.next(),s=this.state.start,e=!1)}if(e&&this.isContextual(\\\"static\\\")){const e=this.lookahead();e.type!==c.colon&&e.type!==c.question&&(this.next(),t=!0)}const d=this.flowParseVariance();if(this.eat(c.bracketL))null!=s&&this.unexpected(s),this.eat(c.bracketL)?(d&&this.unexpected(d.start),a.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,t))):a.indexers.push(this.flowParseObjectTypeIndexer(u,t,d));else if(this.match(c.parenL)||this.isRelational(\\\"<\\\"))null!=s&&this.unexpected(s),d&&this.unexpected(d.start),a.callProperties.push(this.flowParseObjectTypeCallProperty(u,t));else{let e=\\\"init\\\";if(this.isContextual(\\\"get\\\")||this.isContextual(\\\"set\\\")){const t=this.lookahead();t.type!==c.name&&t.type!==c.string&&t.type!==c.num||(e=this.state.value,this.next())}const n=this.flowParseObjectTypeProperty(u,t,s,d,e,r,null!=i?i:!l);null===n?(p=!0,o=this.state.lastTokStart):a.properties.push(n)}this.flowObjectTypeSemicolon(),!o||this.match(c.braceR)||this.match(c.braceBarR)||this.raise(o,$.UnexpectedExplicitInexactInObject)}this.expect(o),r&&(a.inexact=p);const u=this.finishNode(a,\\\"ObjectTypeAnnotation\\\");return this.state.inType=s,u}flowParseObjectTypeProperty(e,t,r,n,i,s,a){if(this.eat(c.ellipsis))return this.match(c.comma)||this.match(c.semi)||this.match(c.braceR)||this.match(c.braceBarR)?(s?a||this.raise(this.state.lastTokStart,$.InexactInsideExact):this.raise(this.state.lastTokStart,$.InexactInsideNonObject),n&&this.raise(n.start,$.InexactVariance),null):(s||this.raise(this.state.lastTokStart,$.UnexpectedSpreadType),null!=r&&this.unexpected(r),n&&this.raise(n.start,$.SpreadVariance),e.argument=this.flowParseType(),this.finishNode(e,\\\"ObjectTypeSpreadProperty\\\"));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=i;let a=!1;return this.isRelational(\\\"<\\\")||this.match(c.parenL)?(e.method=!0,null!=r&&this.unexpected(r),n&&this.unexpected(n.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start)),\\\"get\\\"!==i&&\\\"set\\\"!==i||this.flowCheckGetterSetterParams(e),!s&&\\\"constructor\\\"===e.key.name&&e.value.this&&this.raise(e.value.this.start,$.ThisParamBannedInConstructor)):(\\\"init\\\"!==i&&this.unexpected(),e.method=!1,this.eat(c.question)&&(a=!0),e.value=this.flowParseTypeInitialiser(),e.variance=n),e.optional=a,this.finishNode(e,\\\"ObjectTypeProperty\\\")}}flowCheckGetterSetterParams(e){const t=\\\"get\\\"===e.kind?0:1,r=e.start,n=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.value.this.start,\\\"get\\\"===e.kind?$.GetterMayNotHaveThisParam:$.SetterMayNotHaveThisParam),n!==t&&(\\\"get\\\"===e.kind?this.raise(r,E.BadGetterArity):this.raise(r,E.BadSetterArity)),\\\"set\\\"===e.kind&&e.value.rest&&this.raise(r,E.BadSetterRestParameter)}flowObjectTypeSemicolon(){this.eat(c.semi)||this.eat(c.comma)||this.match(c.braceR)||this.match(c.braceBarR)||this.unexpected()}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start,t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(!0);for(;this.eat(c.dot);){const r=this.startNodeAt(e,t);r.qualification=n,r.id=this.flowParseRestrictedIdentifier(!0),n=this.finishNode(r,\\\"QualifiedTypeIdentifier\\\")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);return n.typeParameters=null,n.id=this.flowParseQualifiedTypeIdentifier(e,t,r),this.isRelational(\\\"<\\\")&&(n.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(n,\\\"GenericTypeAnnotation\\\")}flowParseTypeofType(){const e=this.startNode();return this.expect(c._typeof),e.argument=this.flowParsePrimaryType(),this.finishNode(e,\\\"TypeofTypeAnnotation\\\")}flowParseTupleType(){const e=this.startNode();for(e.types=[],this.expect(c.bracketL);this.state.possuper.parseFunctionBody(e,!0,r))):super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,t,r=!1){if(this.match(c.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,\\\"TypeAnnotation\\\"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.match(c.name)&&\\\"interface\\\"===this.state.value){const e=this.lookahead();if(e.type===c.name||Y(e.value)){const e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(\\\"enum\\\")){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);return void 0!==this.flowPragma||this.isValidDirective(r)||(this.flowPragma=null),r}parseExpressionStatement(e,t){if(\\\"Identifier\\\"===t.type)if(\\\"declare\\\"===t.name){if(this.match(c._class)||this.match(c.name)||this.match(c._function)||this.match(c._var)||this.match(c._export))return this.flowParseDeclare(e)}else if(this.match(c.name)){if(\\\"interface\\\"===t.name)return this.flowParseInterface(e);if(\\\"type\\\"===t.name)return this.flowParseTypeAlias(e);if(\\\"opaque\\\"===t.name)return this.flowParseOpaqueType(e,!1)}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual(\\\"type\\\")||this.isContextual(\\\"interface\\\")||this.isContextual(\\\"opaque\\\")||this.shouldParseEnums()&&this.isContextual(\\\"enum\\\")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){return(!this.match(c.name)||!(\\\"type\\\"===this.state.value||\\\"interface\\\"===this.state.value||\\\"opaque\\\"===this.state.value||this.shouldParseEnums()&&\\\"enum\\\"===this.state.value))&&super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(\\\"enum\\\")){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(c.question))return e;if(n){const i=this.tryParse((()=>super.parseConditional(e,t,r)));return i.node?(i.error&&(this.state=i.failState),i.node):(n.start=i.error.pos||this.state.start,e)}this.expect(c.question);const i=this.state.clone(),s=this.state.noArrowAt,a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent(),[p,u]=this.getArrowLikeExpressions(o);if(l||u.length>0){const e=[...s];if(u.length>0){this.state=i,this.state.noArrowAt=e;for(let t=0;t1&&this.raise(i.start,$.AmbiguousConditionalArrow),l&&1===p.length&&(this.state=i,this.state.noArrowAt=e.concat(p[0].start),({consequent:o,failed:l}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=s,this.expect(c.colon),a.test=e,a.consequent=o,a.alternate=this.forwardNoArrowParamsConversionAt(a,(()=>this.parseMaybeAssign(void 0,void 0,void 0))),this.finishNode(a,\\\"ConditionalExpression\\\")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn(),t=!this.match(c.colon);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e],n=[];for(;0!==r.length;){const e=r.pop();\\\"ArrowFunctionExpression\\\"===e.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):n.push(e),r.push(e.body)):\\\"ConditionalExpression\\\"===e.type&&(r.push(e.consequent),r.push(e.alternate))}return t?(n.forEach((e=>this.finishArrowValidation(e))),[n,[]]):function(e,t){const r=[],n=[];for(let i=0;ie.params.every((e=>this.isAssignable(e,!0)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingComma,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),r=t(),this.state.noArrowParamsConversionAt.pop()):r=t(),r}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(c.question)&&(e.optional=!0,this.resetEndLocation(e)),this.match(c.colon)){const n=this.startNodeAt(t,r);return n.expression=e,n.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(n,\\\"TypeCastExpression\\\")}return e}assertModuleNodeAllowed(e){\\\"ImportDeclaration\\\"===e.type&&(\\\"type\\\"===e.importKind||\\\"typeof\\\"===e.importKind)||\\\"ExportNamedDeclaration\\\"===e.type&&\\\"type\\\"===e.exportKind||\\\"ExportAllDeclaration\\\"===e.type&&\\\"type\\\"===e.exportKind||super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);return\\\"ExportNamedDeclaration\\\"!==t.type&&\\\"ExportAllDeclaration\\\"!==t.type||(t.exportKind=t.exportKind||\\\"value\\\"),t}parseExportDeclaration(e){if(this.isContextual(\\\"type\\\")){e.exportKind=\\\"type\\\";const t=this.startNode();return this.next(),this.match(c.braceL)?(e.specifiers=this.parseExportSpecifiers(),this.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(\\\"opaque\\\")){e.exportKind=\\\"type\\\";const t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(\\\"interface\\\")){e.exportKind=\\\"type\\\";const t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(\\\"enum\\\")){e.exportKind=\\\"value\\\";const t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(...arguments)||!(!this.isContextual(\\\"type\\\")||this.lookahead().type!==c.star)&&(e.exportKind=\\\"type\\\",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){const t=this.state.start,r=super.maybeParseExportNamespaceSpecifier(e);return r&&\\\"type\\\"===e.exportKind&&this.unexpected(t),r}parseClassId(e,t,r){super.parseClassId(e,t,r),this.isRelational(\\\"<\\\")&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,r){const n=this.state.start;if(this.isContextual(\\\"declare\\\")){if(this.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,r),t.declare&&(\\\"ClassProperty\\\"!==t.type&&\\\"ClassPrivateProperty\\\"!==t.type&&\\\"PropertyDefinition\\\"!==t.type?this.raise(n,$.DeclareClassElement):t.value&&this.raise(t.value.start,$.DeclareClassFieldInitializer))}isIterator(e){return\\\"iterator\\\"===e||\\\"asyncIterator\\\"===e}readIterator(){const e=super.readWord1(),t=\\\"@@\\\"+e;this.isIterator(e)&&this.state.inType||this.raise(this.state.pos,E.InvalidIdentifier,t),this.finishToken(c.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);return 123===e&&124===t?this.finishOp(c.braceBarL,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===t?this.finishOp(c.questionDot,2):this.finishOp(c.question,1):function(e,t){return 64===e&&64===t}(e,t)?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e):this.finishOp(c.relational,1)}isAssignable(e,t){switch(e.type){case\\\"Identifier\\\":case\\\"ObjectPattern\\\":case\\\"ArrayPattern\\\":case\\\"AssignmentPattern\\\":return!0;case\\\"ObjectExpression\\\":{const t=e.properties.length-1;return e.properties.every(((e,r)=>\\\"ObjectMethod\\\"!==e.type&&(r===t||\\\"SpreadElement\\\"===e.type)&&this.isAssignable(e)))}case\\\"ObjectProperty\\\":return this.isAssignable(e.value);case\\\"SpreadElement\\\":return this.isAssignable(e.argument);case\\\"ArrayExpression\\\":return e.elements.every((e=>this.isAssignable(e)));case\\\"AssignmentExpression\\\":return\\\"=\\\"===e.operator;case\\\"ParenthesizedExpression\\\":case\\\"TypeCastExpression\\\":return this.isAssignable(e.expression);case\\\"MemberExpression\\\":case\\\"OptionalMemberExpression\\\":return!t;default:return!1}}toAssignable(e,t=!1){return\\\"TypeCastExpression\\\"===e.type?super.toAssignable(this.typeCastToParameter(e),t):super.toAssignable(e,t)}toAssignableList(e,t,r){for(let t=0;t1)&&t||this.raise(i.typeAnnotation.start,$.TypeCastInPattern)}return e}parseArrayLike(e,t,r,n){const i=super.parseArrayLike(e,t,r,n);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(i.elements),i}checkLVal(e,...t){if(\\\"TypeCastExpression\\\"!==e.type)return super.checkLVal(e,...t)}parseClassProperty(e){return this.match(c.colon)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(c.colon)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational(\\\"<\\\")||super.isClassMethod()}isClassProperty(){return this.match(c.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(c.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,i,s){if(t.variance&&this.unexpected(t.variance.start),delete t.variance,this.isRelational(\\\"<\\\")&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,r,n,i,s),t.params&&i){const e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(t.start,$.ThisParamBannedInConstructor)}else if(\\\"MethodDefinition\\\"===t.type&&i&&t.value.params){const e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(t.start,$.ThisParamBannedInConstructor)}}pushClassPrivateMethod(e,t,r,n){t.variance&&this.unexpected(t.variance.start),delete t.variance,this.isRelational(\\\"<\\\")&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.isRelational(\\\"<\\\")&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(\\\"implements\\\")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.isRelational(\\\"<\\\")?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,\\\"ClassImplements\\\"))}while(this.eat(c.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];this.isThisParam(r)&&\\\"get\\\"===e.kind?this.raise(r.start,$.GetterMayNotHaveThisParam):this.isThisParam(r)&&this.raise(r.start,$.SetterMayNotHaveThisParam)}}parsePropertyName(e,t){const r=this.flowParseVariance(),n=super.parsePropertyName(e,t);return e.variance=r,n}parseObjPropValue(e,t,r,n,i,s,a,o){let l;e.variance&&this.unexpected(e.variance.start),delete e.variance,this.isRelational(\\\"<\\\")&&!a&&(l=this.flowParseTypeParameterDeclaration(),this.match(c.parenL)||this.unexpected()),super.parseObjPropValue(e,t,r,n,i,s,a,o),l&&((e.value||e).typeParameters=l)}parseAssignableListItemTypes(e){return this.eat(c.question)&&(\\\"Identifier\\\"!==e.type&&this.raise(e.start,$.OptionalBindingPattern),this.isThisParam(e)&&this.raise(e.start,$.ThisParamMayNotBeOptional),e.optional=!0),this.match(c.colon)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(e.start,$.ThisParamAnnotationRequired),this.match(c.eq)&&this.isThisParam(e)&&this.raise(e.start,$.ThisParamNoDefault),this.resetEndLocation(e),e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);return\\\"AssignmentPattern\\\"===n.type&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r)),s),!i.error)return i.node;const{context:n}=this.state;n[n.length-1]===O.j_oTag?n.length-=2:n[n.length-1]===O.j_expr&&(n.length-=1)}if(null!=(n=i)&&n.error||this.isRelational(\\\"<\\\")){var a,o;let n;s=s||this.state.clone();const l=this.tryParse((i=>{var s;n=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(n,(()=>{const i=super.parseMaybeAssign(e,t,r);return this.resetStartLocationFromNode(i,n),i}));\\\"ArrowFunctionExpression\\\"!==a.type&&null!=(s=a.extra)&&s.parenthesized&&i();const o=this.maybeUnwrapTypeCastExpression(a);return o.typeParameters=n,this.resetStartLocationFromNode(o,n),a}),s);let p=null;if(l.node&&\\\"ArrowFunctionExpression\\\"===this.maybeUnwrapTypeCastExpression(l.node).type){if(!l.error&&!l.aborted)return l.node.async&&this.raise(n.start,$.UnexpectedTypeParameterBeforeAsyncArrowFunction),l.node;p=l.node}if(null!=(a=i)&&a.node)return this.state=i.failState,i.node;if(p)return this.state=l.failState,p;if(null!=(o=i)&&o.thrown)throw i.error;if(l.thrown)throw l.error;throw this.raise(n.start,$.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(c.colon)){const t=this.tryParse((()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const r=this.startNode();return[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(c.arrow)||this.unexpected(),r}));if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,\\\"TypeAnnotation\\\"):null}return super.parseArrow(e)}shouldParseArrow(){return this.match(c.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,r){if(!r||-1===this.state.noArrowParamsConversionAt.indexOf(e.start)){for(let t=0;t0&&this.raise(e.params[t].start,$.ThisParamMustBeFirst);return super.checkParams(...arguments)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,r,n){if(\\\"Identifier\\\"===e.type&&\\\"async\\\"===e.name&&-1!==this.state.noArrowAt.indexOf(t)){this.next();const n=this.startNodeAt(t,r);n.callee=e,n.arguments=this.parseCallExpressionArguments(c.parenR,!1),e=this.finishNode(n,\\\"CallExpression\\\")}else if(\\\"Identifier\\\"===e.type&&\\\"async\\\"===e.name&&this.isRelational(\\\"<\\\")){const i=this.state.clone(),s=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t,r)||e()),i);if(!s.error&&!s.aborted)return s.node;const a=this.tryParse((()=>super.parseSubscripts(e,t,r,n)),i);if(a.node&&!a.error)return a.node;if(s.node)return this.state=s.failState,s.node;if(a.node)return this.state=a.failState,a.node;throw s.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,i){if(this.match(c.questionDot)&&this.isLookaheadToken_lt()){if(i.optionalChainMember=!0,n)return i.stop=!0,e;this.next();const s=this.startNodeAt(t,r);return s.callee=e,s.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(c.parenL),s.arguments=this.parseCallExpressionArguments(c.parenR,!1),s.optional=!0,this.finishCallExpression(s,!0)}if(!n&&this.shouldParseTypes()&&this.isRelational(\\\"<\\\")){const n=this.startNodeAt(t,r);n.callee=e;const s=this.tryParse((()=>(n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(c.parenL),n.arguments=this.parseCallExpressionArguments(c.parenR,!1),i.optionalChainMember&&(n.optional=!1),this.finishCallExpression(n,i.optionalChainMember))));if(s.node)return s.error&&(this.state=s.failState),s.node}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){let t=null;this.shouldParseTypes()&&this.isRelational(\\\"<\\\")&&(t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),e.typeArguments=t,super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const r=this.startNodeAt(e,t);if(this.parseFunctionParams(r),this.parseArrow(r))return this.parseArrowExpression(r,void 0,!0)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?super.readToken_pipe_amp(e):this.finishOp(c.braceBarR,2)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(this.state.pos,$.UnterminatedFlowComment),r}skipBlockComment(){if(this.hasPlugin(\\\"flowComments\\\")&&this.skipFlowComment())return this.state.hasFlowComment&&this.unexpected(null,$.NestedFlowComment),this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),void(this.state.hasFlowComment=!0);if(this.state.hasFlowComment){const e=this.input.indexOf(\\\"*-/\\\",this.state.pos+=2);if(-1===e)throw this.raise(this.state.pos-2,E.UnterminatedComment);this.state.pos=e+3}else super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;const r=this.input.charCodeAt(t+e),n=this.input.charCodeAt(t+e+1);return 58===r&&58===n?t+2:\\\"flow-include\\\"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==n&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf(\\\"*/\\\",this.state.pos))throw this.raise(this.state.pos,E.UnterminatedComment)}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,$.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,$.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,$.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,$.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,null===r?$.EnumInvalidExplicitTypeUnknownSupplied:$.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let i=null;switch(r){case\\\"boolean\\\":case\\\"number\\\":case\\\"string\\\":i=$.EnumInvalidMemberInitializerPrimaryType;break;case\\\"symbol\\\":i=$.EnumInvalidMemberInitializerSymbolType;break;default:i=$.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,$.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,$.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start,t=()=>this.match(c.comma)||this.match(c.braceR);switch(this.state.type){case c.num:{const r=this.parseLiteral(this.state.value,\\\"NumericLiteral\\\");return t()?{type:\\\"number\\\",pos:r.start,value:r}:{type:\\\"invalid\\\",pos:e}}case c.string:{const r=this.parseLiteral(this.state.value,\\\"StringLiteral\\\");return t()?{type:\\\"string\\\",pos:r.start,value:r}:{type:\\\"invalid\\\",pos:e}}case c._true:case c._false:{const r=this.parseBooleanLiteral();return t()?{type:\\\"boolean\\\",pos:r.start,value:r}:{type:\\\"invalid\\\",pos:e}}default:return{type:\\\"invalid\\\",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;return{id:this.parseIdentifier(!0),init:this.eat(c.eq)?this.flowEnumMemberInit():{type:\\\"none\\\",pos:e}}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;null!==n&&n!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set,n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=!1;for(;!this.match(c.braceR);){if(this.eat(c.ellipsis)){i=!0;break}const s=this.startNode(),{id:a,init:o}=this.flowEnumMemberRaw(),l=a.name;if(\\\"\\\"===l)continue;/^[a-z]/.test(l)&&this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l}),r.has(l)&&this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l}),r.add(l);const p={enumName:e,explicitType:t,memberName:l};switch(s.id=a,o.type){case\\\"boolean\\\":this.flowEnumCheckExplicitTypeMismatch(o.pos,p,\\\"boolean\\\"),s.init=o.value,n.booleanMembers.push(this.finishNode(s,\\\"EnumBooleanMember\\\"));break;case\\\"number\\\":this.flowEnumCheckExplicitTypeMismatch(o.pos,p,\\\"number\\\"),s.init=o.value,n.numberMembers.push(this.finishNode(s,\\\"EnumNumberMember\\\"));break;case\\\"string\\\":this.flowEnumCheckExplicitTypeMismatch(o.pos,p,\\\"string\\\"),s.init=o.value,n.stringMembers.push(this.finishNode(s,\\\"EnumStringMember\\\"));break;case\\\"invalid\\\":throw this.flowEnumErrorInvalidMemberInitializer(o.pos,p);case\\\"none\\\":switch(t){case\\\"boolean\\\":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,p);break;case\\\"number\\\":this.flowEnumErrorNumberMemberNotInitialized(o.pos,p);break;default:n.defaultedMembers.push(this.finishNode(s,\\\"EnumDefaultedMember\\\"))}}this.match(c.braceR)||this.expect(c.comma)}return{members:n,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:r}){if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(const t of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r});return t}for(const e of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r});return e}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual(\\\"of\\\")){if(!this.match(c.name))throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null});const{value:t}=this.state;return this.next(),\\\"boolean\\\"!==t&&\\\"number\\\"!==t&&\\\"string\\\"!==t&&\\\"symbol\\\"!==t&&this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t}),t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(c.braceL);const{members:i,hasUnknownMembers:s}=this.flowEnumMembers({enumName:t,explicitType:n});switch(e.hasUnknownMembers=s,n){case\\\"boolean\\\":return e.explicitType=!0,e.members=i.booleanMembers,this.expect(c.braceR),this.finishNode(e,\\\"EnumBooleanBody\\\");case\\\"number\\\":return e.explicitType=!0,e.members=i.numberMembers,this.expect(c.braceR),this.finishNode(e,\\\"EnumNumberBody\\\");case\\\"string\\\":return e.explicitType=!0,e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t}),this.expect(c.braceR),this.finishNode(e,\\\"EnumStringBody\\\");case\\\"symbol\\\":return e.members=i.defaultedMembers,this.expect(c.braceR),this.finishNode(e,\\\"EnumSymbolBody\\\");default:{const n=()=>(e.members=[],this.expect(c.braceR),this.finishNode(e,\\\"EnumStringBody\\\"));e.explicitType=!1;const s=i.booleanMembers.length,a=i.numberMembers.length,o=i.stringMembers.length,l=i.defaultedMembers.length;if(s||a||o||l){if(s||a){if(!a&&!o&&s>=l){for(const e of i.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name});return e.members=i.booleanMembers,this.expect(c.braceR),this.finishNode(e,\\\"EnumBooleanBody\\\")}if(!s&&!o&&a>=l){for(const e of i.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name});return e.members=i.numberMembers,this.expect(c.braceR),this.finishNode(e,\\\"EnumNumberBody\\\")}return this.flowEnumErrorInconsistentMemberValues(r,{enumName:t}),n()}return e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t}),this.expect(c.braceR),this.finishNode(e,\\\"EnumStringBody\\\")}return n()}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start}),this.finishNode(e,\\\"EnumDeclaration\\\")}updateContext(e){this.match(c.name)&&\\\"of\\\"===this.state.value&&e===c.name&&\\\"interface\\\"===this.input.slice(this.state.lastTokStart,this.state.lastTokEnd)?this.state.exprAllowed=!1:super.updateContext(e)}isLookaheadToken_lt(){const e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){const t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}maybeUnwrapTypeCastExpression(e){return\\\"TypeCastExpression\\\"===e.type?e.expression:e}},typescript:e=>class extends e{getScopeHandler(){return pe}tsIsIdentifier(){return this.match(c.name)}tsTokenCanFollowModifier(){return(this.match(c.bracketL)||this.match(c.braceL)||this.match(c.star)||this.match(c.ellipsis)||this.match(c.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(c.name))return;const t=this.state.value;return-1!==e.indexOf(t)&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))?t:void 0}tsParseModifiers(e,t,r,n){const i=(t,r,n,i)=>{r===n&&e[i]&&this.raise(t,fe.InvalidModifiersOrder,n,i)},s=(t,r,n,i)=>{(e[n]&&r===i||e[i]&&r===n)&&this.raise(t,fe.IncompatibleModifiers,n,i)};for(;;){const a=this.state.start,o=this.tsParseModifier(t.concat(null!=r?r:[]));if(!o)break;me(o)?e.accessibility?this.raise(a,fe.DuplicateAccessibilityModifier):(i(a,o,o,\\\"override\\\"),i(a,o,o,\\\"static\\\"),e.accessibility=o):(Object.hasOwnProperty.call(e,o)?this.raise(a,fe.DuplicateModifier,o):(i(a,o,\\\"static\\\",\\\"readonly\\\"),i(a,o,\\\"static\\\",\\\"override\\\"),i(a,o,\\\"override\\\",\\\"readonly\\\"),i(a,o,\\\"abstract\\\",\\\"override\\\"),s(a,o,\\\"declare\\\",\\\"override\\\"),s(a,o,\\\"static\\\",\\\"abstract\\\")),e[o]=!0),null!=r&&r.includes(o)&&this.raise(a,n,o)}}tsIsListTerminator(e){switch(e){case\\\"EnumMembers\\\":case\\\"TypeMembers\\\":return this.match(c.braceR);case\\\"HeritageClauseElement\\\":return this.match(c.braceL);case\\\"TupleElementTypes\\\":return this.match(c.bracketR);case\\\"TypeParametersOrArguments\\\":return this.isRelational(\\\">\\\")}throw new Error(\\\"Unreachable\\\")}tsParseList(e,t){const r=[];for(;!this.tsIsListTerminator(e);)r.push(t());return r}tsParseDelimitedList(e,t){return de(this.tsParseDelimitedListWorker(e,t,!0))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;!this.tsIsListTerminator(e);){const i=t();if(null==i)return;if(n.push(i),!this.eat(c.comma)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(c.comma))}}return n}tsParseBracketedList(e,t,r,n){n||(r?this.expect(c.bracketL):this.expectRelational(\\\"<\\\"));const i=this.tsParseDelimitedList(e,t);return r?this.expect(c.bracketR):this.expectRelational(\\\">\\\"),i}tsParseImportType(){const e=this.startNode();return this.expect(c._import),this.expect(c.parenL),this.match(c.string)||this.raise(this.state.start,fe.UnsupportedImportTypeArgument),e.argument=this.parseExprAtom(),this.expect(c.parenR),this.eat(c.dot)&&(e.qualifier=this.tsParseEntityName(!0)),this.isRelational(\\\"<\\\")&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,\\\"TSImportType\\\")}tsParseEntityName(e){let t=this.parseIdentifier();for(;this.eat(c.dot);){const r=this.startNodeAtNode(t);r.left=t,r.right=this.parseIdentifier(e),t=this.finishNode(r,\\\"TSQualifiedName\\\")}return t}tsParseTypeReference(){const e=this.startNode();return e.typeName=this.tsParseEntityName(!1),!this.hasPrecedingLineBreak()&&this.isRelational(\\\"<\\\")&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,\\\"TSTypeReference\\\")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,\\\"TSTypePredicate\\\")}tsParseThisTypeNode(){const e=this.startNode();return this.next(),this.finishNode(e,\\\"TSThisType\\\")}tsParseTypeQuery(){const e=this.startNode();return this.expect(c._typeof),this.match(c._import)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(!0),this.finishNode(e,\\\"TSTypeQuery\\\")}tsParseTypeParameter(){const e=this.startNode();return e.name=this.parseIdentifierName(e.start),e.constraint=this.tsEatThenParseType(c._extends),e.default=this.tsEatThenParseType(c.eq),this.finishNode(e,\\\"TSTypeParameter\\\")}tsTryParseTypeParameters(){if(this.isRelational(\\\"<\\\"))return this.tsParseTypeParameters()}tsParseTypeParameters(){const e=this.startNode();return this.isRelational(\\\"<\\\")||this.match(c.jsxTagStart)?this.next():this.unexpected(),e.params=this.tsParseBracketedList(\\\"TypeParametersOrArguments\\\",this.tsParseTypeParameter.bind(this),!1,!0),0===e.params.length&&this.raise(e.start,fe.EmptyTypeParameters),this.finishNode(e,\\\"TSTypeParameterDeclaration\\\")}tsTryNextParseConstantContext(){return this.lookahead().type===c._const?(this.next(),this.tsParseTypeReference()):null}tsFillSignature(e,t){const r=e===c.arrow;t.typeParameters=this.tsTryParseTypeParameters(),this.expect(c.parenL),t.parameters=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return this.parseBindingList(c.parenR,41).map((e=>(\\\"Identifier\\\"!==e.type&&\\\"RestElement\\\"!==e.type&&\\\"ObjectPattern\\\"!==e.type&&\\\"ArrayPattern\\\"!==e.type&&this.raise(e.start,fe.UnsupportedSignatureParameterKind,e.type),e)))}tsParseTypeMemberSemicolon(){this.eat(c.comma)||this.isLineTerminator()||this.expect(c.semi)}tsParseSignatureMember(e,t){return this.tsFillSignature(c.colon,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),this.eat(c.name)&&this.match(c.colon)}tsTryParseIndexSignature(e){if(!this.match(c.bracketL)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(c.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(c.bracketR),e.parameters=[t];const r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,\\\"TSIndexSignature\\\")}tsParsePropertyOrMethodSignature(e,t){this.eat(c.question)&&(e.optional=!0);const r=e;if(this.match(c.parenL)||this.isRelational(\\\"<\\\")){t&&this.raise(e.start,fe.ReadonlyForMethodSignature);const n=r;if(n.kind&&this.isRelational(\\\"<\\\")&&this.raise(this.state.pos,fe.AccesorCannotHaveTypeParameters),this.tsFillSignature(c.colon,n),this.tsParseTypeMemberSemicolon(),\\\"get\\\"===n.kind)n.parameters.length>0&&(this.raise(this.state.pos,E.BadGetterArity),this.isThisParam(n.parameters[0])&&this.raise(this.state.pos,fe.AccesorCannotDeclareThisParameter));else if(\\\"set\\\"===n.kind){if(1!==n.parameters.length)this.raise(this.state.pos,E.BadSetterArity);else{const e=n.parameters[0];this.isThisParam(e)&&this.raise(this.state.pos,fe.AccesorCannotDeclareThisParameter),\\\"Identifier\\\"===e.type&&e.optional&&this.raise(this.state.pos,fe.SetAccesorCannotHaveOptionalParameter),\\\"RestElement\\\"===e.type&&this.raise(this.state.pos,fe.SetAccesorCannotHaveRestParameter)}n.typeAnnotation&&this.raise(n.typeAnnotation.start,fe.SetAccesorCannotHaveReturnType)}else n.kind=\\\"method\\\";return this.finishNode(n,\\\"TSMethodSignature\\\")}{const e=r;t&&(e.readonly=!0);const n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(e,\\\"TSPropertySignature\\\")}}tsParseTypeMember(){const e=this.startNode();if(this.match(c.parenL)||this.isRelational(\\\"<\\\"))return this.tsParseSignatureMember(\\\"TSCallSignatureDeclaration\\\",e);if(this.match(c._new)){const t=this.startNode();return this.next(),this.match(c.parenL)||this.isRelational(\\\"<\\\")?this.tsParseSignatureMember(\\\"TSConstructSignatureDeclaration\\\",e):(e.key=this.createIdentifier(t,\\\"new\\\"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers(e,[\\\"readonly\\\"],[\\\"declare\\\",\\\"abstract\\\",\\\"private\\\",\\\"protected\\\",\\\"public\\\",\\\"static\\\",\\\"override\\\"],fe.InvalidModifierOnTypeMember);return this.tsTryParseIndexSignature(e)||(this.parsePropertyName(e,!1),e.computed||\\\"Identifier\\\"!==e.key.type||\\\"get\\\"!==e.key.name&&\\\"set\\\"!==e.key.name||!this.tsTokenCanFollowModifier()||(e.kind=e.key.name,this.parsePropertyName(e,!1)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){const e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,\\\"TSTypeLiteral\\\")}tsParseObjectTypeMembers(){this.expect(c.braceL);const e=this.tsParseList(\\\"TypeMembers\\\",this.tsParseTypeMember.bind(this));return this.expect(c.braceR),e}tsIsStartOfMappedType(){return this.next(),this.eat(c.plusMin)?this.isContextual(\\\"readonly\\\"):(this.isContextual(\\\"readonly\\\")&&this.next(),!!this.match(c.bracketL)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(c._in))))}tsParseMappedTypeParameter(){const e=this.startNode();return e.name=this.parseIdentifierName(e.start),e.constraint=this.tsExpectThenParseType(c._in),this.finishNode(e,\\\"TSTypeParameter\\\")}tsParseMappedType(){const e=this.startNode();return this.expect(c.braceL),this.match(c.plusMin)?(e.readonly=this.state.value,this.next(),this.expectContextual(\\\"readonly\\\")):this.eatContextual(\\\"readonly\\\")&&(e.readonly=!0),this.expect(c.bracketL),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(\\\"as\\\")?this.tsParseType():null,this.expect(c.bracketR),this.match(c.plusMin)?(e.optional=this.state.value,this.next(),this.expect(c.question)):this.eat(c.question)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(c.braceR),this.finishNode(e,\\\"TSMappedType\\\")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList(\\\"TupleElementTypes\\\",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1,r=null;return e.elementTypes.forEach((e=>{var n;let{type:i}=e;!t||\\\"TSRestType\\\"===i||\\\"TSOptionalType\\\"===i||\\\"TSNamedTupleMember\\\"===i&&e.optional||this.raise(e.start,fe.OptionalTypeBeforeRequired),t=t||\\\"TSNamedTupleMember\\\"===i&&e.optional||\\\"TSOptionalType\\\"===i,\\\"TSRestType\\\"===i&&(i=(e=e.typeAnnotation).type);const s=\\\"TSNamedTupleMember\\\"===i;r=null!=(n=r)?n:s,r!==s&&this.raise(e.start,fe.MixedLabeledAndUnlabeledElements)})),this.finishNode(e,\\\"TSTupleType\\\")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state,r=this.eat(c.ellipsis);let n=this.tsParseType();const i=this.eat(c.question);if(this.eat(c.colon)){const e=this.startNodeAtNode(n);e.optional=i,\\\"TSTypeReference\\\"!==n.type||n.typeParameters||\\\"Identifier\\\"!==n.typeName.type?(this.raise(n.start,fe.InvalidTupleMemberLabel),e.label=n):e.label=n.typeName,e.elementType=this.tsParseType(),n=this.finishNode(e,\\\"TSNamedTupleMember\\\")}else if(i){const e=this.startNodeAtNode(n);e.typeAnnotation=n,n=this.finishNode(e,\\\"TSOptionalType\\\")}if(r){const r=this.startNodeAt(e,t);r.typeAnnotation=n,n=this.finishNode(r,\\\"TSRestType\\\")}return n}tsParseParenthesizedType(){const e=this.startNode();return this.expect(c.parenL),e.typeAnnotation=this.tsParseType(),this.expect(c.parenR),this.finishNode(e,\\\"TSParenthesizedType\\\")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();return\\\"TSConstructorType\\\"===e&&(r.abstract=!!t,t&&this.next(),this.next()),this.tsFillSignature(c.arrow,r),this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();return e.literal=(()=>{switch(this.state.type){case c.num:case c.bigint:case c.string:case c._true:case c._false:return this.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(e,\\\"TSLiteralType\\\")}tsParseTemplateLiteralType(){const e=this.startNode();return e.literal=this.parseTemplate(!1),this.finishNode(e,\\\"TSLiteralType\\\")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();return this.isContextual(\\\"is\\\")&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case c.name:case c._void:case c._null:{const e=this.match(c._void)?\\\"TSVoidKeyword\\\":this.match(c._null)?\\\"TSNullKeyword\\\":function(e){switch(e){case\\\"any\\\":return\\\"TSAnyKeyword\\\";case\\\"boolean\\\":return\\\"TSBooleanKeyword\\\";case\\\"bigint\\\":return\\\"TSBigIntKeyword\\\";case\\\"never\\\":return\\\"TSNeverKeyword\\\";case\\\"number\\\":return\\\"TSNumberKeyword\\\";case\\\"object\\\":return\\\"TSObjectKeyword\\\";case\\\"string\\\":return\\\"TSStringKeyword\\\";case\\\"symbol\\\":return\\\"TSSymbolKeyword\\\";case\\\"undefined\\\":return\\\"TSUndefinedKeyword\\\";case\\\"unknown\\\":return\\\"TSUnknownKeyword\\\";default:return}}(this.state.value);if(void 0!==e&&46!==this.lookaheadCharCode()){const t=this.startNode();return this.next(),this.finishNode(t,e)}return this.tsParseTypeReference()}case c.string:case c.num:case c.bigint:case c._true:case c._false:return this.tsParseLiteralTypeNode();case c.plusMin:if(\\\"-\\\"===this.state.value){const e=this.startNode(),t=this.lookahead();if(t.type!==c.num&&t.type!==c.bigint)throw this.unexpected();return e.literal=this.parseMaybeUnary(),this.finishNode(e,\\\"TSLiteralType\\\")}break;case c._this:return this.tsParseThisTypeOrThisTypePredicate();case c._typeof:return this.tsParseTypeQuery();case c._import:return this.tsParseImportType();case c.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case c.bracketL:return this.tsParseTupleType();case c.parenL:return this.tsParseParenthesizedType();case c.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(c.bracketL);)if(this.match(c.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e,this.expect(c.bracketR),e=this.finishNode(t,\\\"TSArrayType\\\")}else{const t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(c.bracketR),e=this.finishNode(t,\\\"TSIndexedAccessType\\\")}return e}tsParseTypeOperator(e){const t=this.startNode();return this.expectContextual(e),t.operator=e,t.typeAnnotation=this.tsParseTypeOperatorOrHigher(),\\\"readonly\\\"===e&&this.tsCheckTypeAnnotationForReadOnly(t),this.finishNode(t,\\\"TSTypeOperator\\\")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case\\\"TSTupleType\\\":case\\\"TSArrayType\\\":return;default:this.raise(e.start,fe.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual(\\\"infer\\\");const t=this.startNode();return t.name=this.parseIdentifierName(t.start),e.typeParameter=this.finishNode(t,\\\"TSTypeParameter\\\"),this.finishNode(e,\\\"TSInferType\\\")}tsParseTypeOperatorOrHigher(){const e=[\\\"keyof\\\",\\\"unique\\\",\\\"readonly\\\"].find((e=>this.isContextual(e)));return e?this.tsParseTypeOperator(e):this.isContextual(\\\"infer\\\")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,r){const n=this.startNode(),i=this.eat(r),s=[];do{s.push(t())}while(this.eat(r));return 1!==s.length||i?(n.types=s,this.finishNode(n,e)):s[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType(\\\"TSIntersectionType\\\",this.tsParseTypeOperatorOrHigher.bind(this),c.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType(\\\"TSUnionType\\\",this.tsParseIntersectionTypeOrHigher.bind(this),c.bitwiseOR)}tsIsStartOfFunctionType(){return!!this.isRelational(\\\"<\\\")||this.match(c.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(c.name)||this.match(c._this))return this.next(),!0;if(this.match(c.braceL)){let e=1;for(this.next();e>0;)this.match(c.braceL)?++e:this.match(c.braceR)&&--e,this.next();return!0}if(this.match(c.bracketL)){let e=1;for(this.next();e>0;)this.match(c.bracketL)?++e:this.match(c.bracketR)&&--e,this.next();return!0}return!1}tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(c.parenR)||this.match(c.ellipsis))return!0;if(this.tsSkipParameterStart()){if(this.match(c.colon)||this.match(c.comma)||this.match(c.question)||this.match(c.eq))return!0;if(this.match(c.parenR)&&(this.next(),this.match(c.arrow)))return!0}return!1}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{const t=this.startNode();this.expect(e);const r=this.startNode(),n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(c._this)){let e=this.tsParseThisTypeOrThisTypePredicate();return\\\"TSThisType\\\"===e.type?(r.parameterName=e,r.asserts=!0,e=this.finishNode(r,\\\"TSTypePredicate\\\")):(this.resetStartLocationFromNode(e,r),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,\\\"TSTypeAnnotation\\\")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i)return n?(r.parameterName=this.parseIdentifier(),r.asserts=n,t.typeAnnotation=this.finishNode(r,\\\"TSTypePredicate\\\"),this.finishNode(t,\\\"TSTypeAnnotation\\\")):this.tsParseTypeAnnotation(!1,t);const s=this.tsParseTypeAnnotation(!1);return r.parameterName=i,r.typeAnnotation=s,r.asserts=n,t.typeAnnotation=this.finishNode(r,\\\"TSTypePredicate\\\"),this.finishNode(t,\\\"TSTypeAnnotation\\\")}))}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(c.colon)?this.tsParseTypeOrTypePredicateAnnotation(c.colon):void 0}tsTryParseTypeAnnotation(){return this.match(c.colon)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(c.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(\\\"is\\\")&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(!this.match(c.name)||\\\"asserts\\\"!==this.state.value||this.hasPrecedingLineBreak())return!1;const e=this.state.containsEsc;return this.next(),!(!this.match(c.name)&&!this.match(c._this)||(e&&this.raise(this.state.lastTokStart,E.InvalidEscapedReservedWord,\\\"asserts\\\"),0))}tsParseTypeAnnotation(e=!0,t=this.startNode()){return this.tsInType((()=>{e&&this.expect(c.colon),t.typeAnnotation=this.tsParseType()})),this.finishNode(t,\\\"TSTypeAnnotation\\\")}tsParseType(){he(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(c._extends))return e;const t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsParseNonConditionalType(),this.expect(c.question),t.trueType=this.tsParseType(),this.expect(c.colon),t.falseType=this.tsParseType(),this.finishNode(t,\\\"TSConditionalType\\\")}isAbstractConstructorSignature(){return this.isContextual(\\\"abstract\\\")&&this.lookahead().type===c._new}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType(\\\"TSFunctionType\\\"):this.match(c._new)?this.tsParseFunctionOrConstructorType(\\\"TSConstructorType\\\"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType(\\\"TSConstructorType\\\",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode(),t=this.tsTryNextParseConstantContext();return e.typeAnnotation=t||this.tsNextThenParseType(),this.expectRelational(\\\">\\\"),e.expression=this.parseMaybeUnary(),this.finishNode(e,\\\"TSTypeAssertion\\\")}tsParseHeritageClause(e){const t=this.state.start,r=this.tsParseDelimitedList(\\\"HeritageClauseElement\\\",this.tsParseExpressionWithTypeArguments.bind(this));return r.length||this.raise(t,fe.EmptyHeritageClauseType,e),r}tsParseExpressionWithTypeArguments(){const e=this.startNode();return e.expression=this.tsParseEntityName(!1),this.isRelational(\\\"<\\\")&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,\\\"TSExpressionWithTypeArguments\\\")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier(),this.checkLVal(e.id,\\\"typescript interface declaration\\\",130),e.typeParameters=this.tsTryParseTypeParameters(),this.eat(c._extends)&&(e.extends=this.tsParseHeritageClause(\\\"extends\\\"));const t=this.startNode();return t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(t,\\\"TSInterfaceBody\\\"),this.finishNode(e,\\\"TSInterfaceDeclaration\\\")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkLVal(e.id,\\\"typescript type alias\\\",2),e.typeParameters=this.tsTryParseTypeParameters(),e.typeAnnotation=this.tsInType((()=>{if(this.expect(c.eq),this.isContextual(\\\"intrinsic\\\")&&this.lookahead().type!==c.dot){const e=this.startNode();return this.next(),this.finishNode(e,\\\"TSIntrinsicKeyword\\\")}return this.tsParseType()})),this.semicolon(),this.finishNode(e,\\\"TSTypeAliasDeclaration\\\")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return this.match(e)?this.tsNextThenParseType():void 0}tsExpectThenParseType(e){return this.tsDoThenParseType((()=>this.expect(e)))}tsNextThenParseType(){return this.tsDoThenParseType((()=>this.next()))}tsDoThenParseType(e){return this.tsInType((()=>(e(),this.tsParseType())))}tsParseEnumMember(){const e=this.startNode();return e.id=this.match(c.string)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(c.eq)&&(e.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(e,\\\"TSEnumMember\\\")}tsParseEnumDeclaration(e,t){return t&&(e.const=!0),e.id=this.parseIdentifier(),this.checkLVal(e.id,\\\"typescript enum declaration\\\",t?779:267),this.expect(c.braceL),e.members=this.tsParseDelimitedList(\\\"EnumMembers\\\",this.tsParseEnumMember.bind(this)),this.expect(c.braceR),this.finishNode(e,\\\"TSEnumDeclaration\\\")}tsParseModuleBlock(){const e=this.startNode();return this.scope.enter(0),this.expect(c.braceL),this.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,c.braceR),this.scope.exit(),this.finishNode(e,\\\"TSModuleBlock\\\")}tsParseModuleOrNamespaceDeclaration(e,t=!1){if(e.id=this.parseIdentifier(),t||this.checkLVal(e.id,\\\"module or namespace declaration\\\",1024),this.eat(c.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,\\\"TSModuleDeclaration\\\")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(\\\"global\\\")?(e.global=!0,e.id=this.parseIdentifier()):this.match(c.string)?e.id=this.parseExprAtom():this.unexpected(),this.match(c.braceL)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,\\\"TSModuleDeclaration\\\")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||!1,e.id=this.parseIdentifier(),this.checkLVal(e.id,\\\"import equals declaration\\\",9),this.expect(c.eq);const r=this.tsParseModuleReference();return\\\"type\\\"===e.importKind&&\\\"TSExternalModuleReference\\\"!==r.type&&this.raise(r.start,fe.ImportAliasHasImportType),e.moduleReference=r,this.semicolon(),this.finishNode(e,\\\"TSImportEqualsDeclaration\\\")}tsIsExternalModuleReference(){return this.isContextual(\\\"require\\\")&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();if(this.expectContextual(\\\"require\\\"),this.expect(c.parenL),!this.match(c.string))throw this.unexpected();return e.expression=this.parseExprAtom(),this.expect(c.parenR),this.finishNode(e,\\\"TSExternalModuleReference\\\")}tsLookAhead(e){const t=this.state.clone(),r=e();return this.state=t,r}tsTryParseAndCatch(e){const t=this.tryParse((t=>e()||t()));if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}tsTryParse(e){const t=this.state.clone(),r=e();return void 0!==r&&!1!==r?r:void(this.state=t)}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t,r=this.state.type;return this.isContextual(\\\"let\\\")&&(r=c._var,t=\\\"let\\\"),this.tsInAmbientContext((()=>{switch(r){case c._function:return e.declare=!0,this.parseFunctionStatement(e,!1,!0);case c._class:return e.declare=!0,this.parseClass(e,!0,!1);case c._const:if(this.match(c._const)&&this.isLookaheadContextual(\\\"enum\\\"))return this.expect(c._const),this.expectContextual(\\\"enum\\\"),this.tsParseEnumDeclaration(e,!0);case c._var:return t=t||this.state.value,this.parseVarStatement(e,t);case c.name:{const t=this.state.value;return\\\"global\\\"===t?this.tsParseAmbientExternalModuleDeclaration(e):this.tsParseDeclaration(e,t,!0)}}}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}tsParseExpressionStatement(e,t){switch(t.name){case\\\"declare\\\":{const t=this.tsTryParseDeclare(e);if(t)return t.declare=!0,t;break}case\\\"global\\\":if(this.match(c.braceL)){this.scope.enter(256),this.prodParam.enter(0);const r=e;return r.global=!0,r.id=t,r.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(r,\\\"TSModuleDeclaration\\\")}break;default:return this.tsParseDeclaration(e,t.name,!1)}}tsParseDeclaration(e,t,r){switch(t){case\\\"abstract\\\":if(this.tsCheckLineTerminator(r)&&(this.match(c._class)||this.match(c.name)))return this.tsParseAbstractDeclaration(e);break;case\\\"enum\\\":if(r||this.match(c.name))return r&&this.next(),this.tsParseEnumDeclaration(e,!1);break;case\\\"interface\\\":if(this.tsCheckLineTerminator(r)&&this.match(c.name))return this.tsParseInterfaceDeclaration(e);break;case\\\"module\\\":if(this.tsCheckLineTerminator(r)){if(this.match(c.string))return this.tsParseAmbientExternalModuleDeclaration(e);if(this.match(c.name))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case\\\"namespace\\\":if(this.tsCheckLineTerminator(r)&&this.match(c.name))return this.tsParseModuleOrNamespaceDeclaration(e);break;case\\\"type\\\":if(this.tsCheckLineTerminator(r)&&this.match(c.name))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational(\\\"<\\\"))return;const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const n=this.tsTryParseAndCatch((()=>{const r=this.startNodeAt(e,t);return r.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(r),r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(c.arrow),r}));return this.state.maybeInArrowParameters=r,n?this.parseArrowExpression(n,null,!0):void 0}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType((()=>this.tsInNoContext((()=>(this.expectRelational(\\\"<\\\"),this.tsParseDelimitedList(\\\"TypeParametersOrArguments\\\",this.tsParseType.bind(this))))))),0===e.params.length&&this.raise(e.start,fe.EmptyTypeArguments),this.state.exprAllowed=!1,this.expectRelational(\\\">\\\"),this.finishNode(e,\\\"TSTypeParameterInstantiation\\\")}tsIsDeclarationStart(){if(this.match(c.name))switch(this.state.value){case\\\"abstract\\\":case\\\"declare\\\":case\\\"enum\\\":case\\\"interface\\\":case\\\"module\\\":case\\\"namespace\\\":case\\\"type\\\":return!0}return!1}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start,n=this.state.startLoc;let i,s=!1;void 0!==e&&(i=this.parseAccessModifier(),s=!!this.tsParseModifier([\\\"readonly\\\"]),!1===e&&(i||s)&&this.raise(r,fe.UnexpectedParameterModifier));const a=this.parseMaybeDefault();this.parseAssignableListItemTypes(a);const o=this.parseMaybeDefault(a.start,a.loc.start,a);if(i||s){const e=this.startNodeAt(r,n);return t.length&&(e.decorators=t),i&&(e.accessibility=i),s&&(e.readonly=s),\\\"Identifier\\\"!==o.type&&\\\"AssignmentPattern\\\"!==o.type&&this.raise(e.start,fe.UnsupportedParameterPropertyKind),e.parameter=o,this.finishNode(e,\\\"TSParameterProperty\\\")}return t.length&&(a.decorators=t),o}parseFunctionBodyAndFinish(e,t,r=!1){this.match(c.colon)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(c.colon));const n=\\\"FunctionDeclaration\\\"===t?\\\"TSDeclareFunction\\\":\\\"ClassMethod\\\"===t?\\\"TSDeclareMethod\\\":void 0;n&&!this.match(c.braceL)&&this.isLineTerminator()?this.finishNode(e,n):\\\"TSDeclareFunction\\\"===n&&this.state.isAmbientContext&&(this.raise(e.start,fe.DeclareFunctionHasImplementation),e.declare)?super.parseFunctionBodyAndFinish(e,n,r):super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){!e.body&&e.id?this.checkLVal(e.id,\\\"function name\\\",1024):super.registerFunctionStatementId(...arguments)}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{\\\"TSTypeCastExpression\\\"===(null==e?void 0:e.type)&&this.raise(e.typeAnnotation.start,fe.UnexpectedTypeAnnotation)}))}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(...e){const t=super.parseArrayLike(...e);return\\\"ArrayExpression\\\"===t.type&&this.tsCheckForInvalidTypeCasts(t.elements),t}parseSubscript(e,t,r,n,i){if(!this.hasPrecedingLineBreak()&&this.match(c.bang)){this.state.exprAllowed=!1,this.next();const n=this.startNodeAt(t,r);return n.expression=e,this.finishNode(n,\\\"TSNonNullExpression\\\")}if(this.isRelational(\\\"<\\\")){const s=this.tsTryParseAndCatch((()=>{if(!n&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e)return e}const s=this.startNodeAt(t,r);s.callee=e;const a=this.tsParseTypeArguments();if(a){if(!n&&this.eat(c.parenL))return s.arguments=this.parseCallExpressionArguments(c.parenR,!1),this.tsCheckForInvalidTypeCasts(s.arguments),s.typeParameters=a,i.optionalChainMember&&(s.optional=!1),this.finishCallExpression(s,i.optionalChainMember);if(this.match(c.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,i);return n.typeParameters=a,n}}this.unexpected()}));if(s)return s}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){if(this.isRelational(\\\"<\\\")){const t=this.tsTryParseAndCatch((()=>{const e=this.tsParseTypeArguments();return this.match(c.parenL)||this.unexpected(),e}));t&&(e.typeParameters=t)}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(de(c._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual(\\\"as\\\")){const i=this.startNodeAt(t,r);i.expression=e;const s=this.tsTryNextParseConstantContext();return i.typeAnnotation=s||this.tsNextThenParseType(),this.finishNode(i,\\\"TSAsExpression\\\"),this.reScan_lt_gt(),this.parseExprOp(i,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){if(e.importKind=\\\"value\\\",this.match(c.name)||this.match(c.star)||this.match(c.braceL)){let t=this.lookahead();if(!this.isContextual(\\\"type\\\")||t.type===c.comma||t.type===c.name&&\\\"from\\\"===t.value||t.type===c.eq||(e.importKind=\\\"type\\\",this.next(),t=this.lookahead()),this.match(c.name)&&t.type===c.eq)return this.tsParseImportEqualsDeclaration(e)}const t=super.parseImport(e);return\\\"type\\\"===t.importKind&&t.specifiers.length>1&&\\\"ImportDefaultSpecifier\\\"===t.specifiers[0].type&&this.raise(t.start,fe.TypeImportCannotSpecifyDefaultAndNamed),t}parseExport(e){if(this.match(c._import))return this.next(),this.isContextual(\\\"type\\\")&&61!==this.lookaheadCharCode()?(e.importKind=\\\"type\\\",this.next()):e.importKind=\\\"value\\\",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(c.eq)){const t=e;return t.expression=this.parseExpression(),this.semicolon(),this.finishNode(t,\\\"TSExportAssignment\\\")}if(this.eatContextual(\\\"as\\\")){const t=e;return this.expectContextual(\\\"namespace\\\"),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,\\\"TSNamespaceExportDeclaration\\\")}return this.isContextual(\\\"type\\\")&&this.lookahead().type===c.braceL?(this.next(),e.exportKind=\\\"type\\\"):e.exportKind=\\\"value\\\",super.parseExport(e)}isAbstractClass(){return this.isContextual(\\\"abstract\\\")&&this.lookahead().type===c._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0),e}if(\\\"interface\\\"===this.state.value){const e=this.tsParseDeclaration(this.startNode(),this.state.value,!0);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===c._const){const e=this.lookahead();if(e.type===c.name&&\\\"enum\\\"===e.value){const e=this.startNode();return this.expect(c._const),this.expectContextual(\\\"enum\\\"),this.tsParseEnumDeclaration(e,!0)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier([\\\"public\\\",\\\"protected\\\",\\\"private\\\"])}tsHasSomeModifiers(e,t){return t.some((t=>me(t)?e.accessibility===t:!!e[t]))}parseClassMember(e,t,r){const n=[\\\"declare\\\",\\\"private\\\",\\\"public\\\",\\\"protected\\\",\\\"override\\\",\\\"abstract\\\",\\\"readonly\\\"];this.tsParseModifiers(t,n.concat([\\\"static\\\"]));const i=()=>{const i=!!t.static;i&&this.eat(c.braceL)?(this.tsHasSomeModifiers(t,n)&&this.raise(this.state.pos,fe.StaticBlockCannotHaveModifier),this.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,r,i)};t.declare?this.tsInAmbientContext(i):i()}parseClassMemberWithIsStatic(e,t,r,n){const i=this.tsTryParseIndexSignature(t);if(i)return e.body.push(i),t.abstract&&this.raise(t.start,fe.IndexSignatureHasAbstract),t.accessibility&&this.raise(t.start,fe.IndexSignatureHasAccessibility,t.accessibility),t.declare&&this.raise(t.start,fe.IndexSignatureHasDeclare),void(t.override&&this.raise(t.start,fe.IndexSignatureHasOverride));!this.state.inAbstractClass&&t.abstract&&this.raise(t.start,fe.NonAbstractClassHasAbstractMethod),t.override&&(r.hadSuperClass||this.raise(t.start,fe.OverrideNotInSubClass)),super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){this.eat(c.question)&&(e.optional=!0),e.readonly&&this.match(c.parenL)&&this.raise(e.start,fe.ClassMethodHasReadonly),e.declare&&this.match(c.parenL)&&this.raise(e.start,fe.ClassMethodHasDeclare)}parseExpressionStatement(e,t){return(\\\"Identifier\\\"===t.type?this.tsParseExpressionStatement(e,t):void 0)||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(c.question))return super.parseConditional(e,t,r,n);const i=this.tryParse((()=>super.parseConditional(e,t,r)));return i.node?(i.error&&(this.state=i.failState),i.node):(n.start=i.error.pos||this.state.start,e)}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(c.question)&&(e.optional=!0,this.resetEndLocation(e)),this.match(c.colon)){const n=this.startNodeAt(t,r);return n.expression=e,n.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(n,\\\"TSTypeCastExpression\\\")}return e}parseExportDeclaration(e){const t=this.state.start,r=this.state.startLoc,n=this.eatContextual(\\\"declare\\\");if(n&&(this.isContextual(\\\"declare\\\")||!this.shouldParseExportDeclaration()))throw this.raise(this.state.start,fe.ExpectedAmbientAfterExportDeclare);let i;return this.match(c.name)&&(i=this.tsTryParseExportDeclaration()),i||(i=super.parseExportDeclaration(e)),i&&(\\\"TSInterfaceDeclaration\\\"===i.type||\\\"TSTypeAliasDeclaration\\\"===i.type||n)&&(e.exportKind=\\\"type\\\"),i&&n&&(this.resetStartLocation(i,t,r),i.declare=!0),i}parseClassId(e,t,r){if((!t||r)&&this.isContextual(\\\"implements\\\"))return;super.parseClassId(e,t,r,e.declare?1024:139);const n=this.tsTryParseTypeParameters();n&&(e.typeParameters=n)}parseClassPropertyAnnotation(e){!e.optional&&this.eat(c.bang)&&(e.definite=!0);const t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){return this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&this.match(c.eq)&&this.raise(this.state.start,fe.DeclareClassFieldHasInitializer),super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(e.start,fe.PrivateElementHasAbstract),e.accessibility&&this.raise(e.start,fe.PrivateElementHasAccessibility,e.accessibility),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,i,s){const a=this.tsTryParseTypeParameters();a&&i&&this.raise(a.start,fe.ConstructorHasTypeParameters),!t.declare||\\\"get\\\"!==t.kind&&\\\"set\\\"!==t.kind||this.raise(t.start,fe.DeclareAccessor,t.kind),a&&(t.typeParameters=a),super.pushClassMethod(e,t,r,n,i,s)}pushClassPrivateMethod(e,t,r,n){const i=this.tsTryParseTypeParameters();i&&(t.typeParameters=i),super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&this.isRelational(\\\"<\\\")&&(e.superTypeParameters=this.tsParseTypeArguments()),this.eatContextual(\\\"implements\\\")&&(e.implements=this.tsParseHeritageClause(\\\"implements\\\"))}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();r&&(e.typeParameters=r),super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();r&&(e.typeParameters=r),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),\\\"Identifier\\\"===e.id.type&&this.eat(c.bang)&&(e.definite=!0);const r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(c.colon)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,i,s,a,o;let l,p,u,d;if(this.hasPlugin(\\\"jsx\\\")&&(this.match(c.jsxTagStart)||this.isRelational(\\\"<\\\"))){if(l=this.state.clone(),p=this.tryParse((()=>super.parseMaybeAssign(...e)),l),!p.error)return p.node;const{context:t}=this.state;t[t.length-1]===O.j_oTag?t.length-=2:t[t.length-1]===O.j_expr&&(t.length-=1)}if(!(null!=(t=p)&&t.error||this.isRelational(\\\"<\\\")))return super.parseMaybeAssign(...e);l=l||this.state.clone();const h=this.tryParse((t=>{var r,n;d=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);return(\\\"ArrowFunctionExpression\\\"!==i.type||null!=(r=i.extra)&&r.parenthesized)&&t(),0!==(null==(n=d)?void 0:n.params.length)&&this.resetStartLocationFromNode(i,d),i.typeParameters=d,i}),l);if(!h.error&&!h.aborted)return h.node;if(!p&&(he(!this.hasPlugin(\\\"jsx\\\")),u=this.tryParse((()=>super.parseMaybeAssign(...e)),l),!u.error))return u.node;if(null!=(r=p)&&r.node)return this.state=p.failState,p.node;if(h.node)return this.state=h.failState,h.node;if(null!=(n=u)&&n.node)return this.state=u.failState,u.node;if(null!=(i=p)&&i.thrown)throw p.error;if(h.thrown)throw h.error;if(null!=(s=u)&&s.thrown)throw u.error;throw(null==(a=p)?void 0:a.error)||h.error||(null==(o=u)?void 0:o.error)}parseMaybeUnary(e){return!this.hasPlugin(\\\"jsx\\\")&&this.isRelational(\\\"<\\\")?this.tsParseTypeAssertion():super.parseMaybeUnary(e)}parseArrow(e){if(this.match(c.colon)){const t=this.tryParse((e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(c.colon);return!this.canInsertSemicolon()&&this.match(c.arrow)||e(),t}));if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e){this.eat(c.question)&&(\\\"Identifier\\\"===e.type||this.state.isAmbientContext||this.state.inType||this.raise(e.start,fe.PatternIsOptional),e.optional=!0);const t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),this.resetEndLocation(e),e}toAssignable(e,t=!1){switch(e.type){case\\\"TSTypeCastExpression\\\":return super.toAssignable(this.typeCastToParameter(e),t);case\\\"TSParameterProperty\\\":default:return super.toAssignable(e,t);case\\\"ParenthesizedExpression\\\":return this.toAssignableParenthesizedExpression(e,t);case\\\"TSAsExpression\\\":case\\\"TSNonNullExpression\\\":case\\\"TSTypeAssertion\\\":return e.expression=this.toAssignable(e.expression,t),e}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case\\\"TSAsExpression\\\":case\\\"TSNonNullExpression\\\":case\\\"TSTypeAssertion\\\":case\\\"ParenthesizedExpression\\\":return e.expression=this.toAssignable(e.expression,t),e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case\\\"TSTypeCastExpression\\\":return;case\\\"TSParameterProperty\\\":return void this.checkLVal(e.parameter,\\\"parameter property\\\",...r);case\\\"TSAsExpression\\\":case\\\"TSTypeAssertion\\\":if(!(r[0]||\\\"parenthesized expression\\\"===t||null!=(n=e.extra)&&n.parenthesized)){this.raise(e.start,E.InvalidLhs,t);break}return void this.checkLVal(e.expression,\\\"parenthesized expression\\\",...r);case\\\"TSNonNullExpression\\\":return void this.checkLVal(e.expression,t,...r);default:return void super.checkLVal(e,t,...r)}}parseBindingAtom(){return this.state.type===c._this?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.isRelational(\\\"<\\\")){const t=this.tsParseTypeArguments();if(this.match(c.parenL)){const r=super.parseMaybeDecoratorArguments(e);return r.typeParameters=t,r}this.unexpected(this.state.start,c.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){this.state.isAmbientContext&&this.match(c.comma)&&this.lookaheadCharCode()===e?this.next():super.checkCommaAfterRest(e)}isClassMethod(){return this.isRelational(\\\"<\\\")||super.isClassMethod()}isClassProperty(){return this.match(c.bang)||this.match(c.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);return\\\"AssignmentPattern\\\"===t.type&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments()));t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e){if(this.match(c._class))return e.abstract=!0,this.parseClass(e,!0,!1);if(this.isContextual(\\\"interface\\\")){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(e.start,fe.NonClassMethodPropertyHasAbstractModifer),this.next(),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,c._class)}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract&&(this.hasPlugin(\\\"estree\\\")?t.value.body:t.body)){const{key:e}=t;this.raise(t.start,fe.AbstractMethodHasImplementation,\\\"Identifier\\\"===e.type?e.name:`[${this.input.slice(e.start,e.end)}]`)}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption(\\\"typescript\\\",\\\"dts\\\")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(c.modulo)){const e=this.state.start,t=this.startNode();if(this.eat(c.modulo),this.match(c.name)){const e=this.parseIdentifierName(this.state.start),r=this.createIdentifier(t,e);if(r.type=\\\"V8IntrinsicIdentifier\\\",this.match(c.parenL))return r}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}},placeholders:e=>class extends e{parsePlaceholder(e){if(this.match(c.placeholder)){const t=this.startNode();return this.next(),this.assertNoSpace(\\\"Unexpected space in placeholder.\\\"),t.name=super.parseIdentifier(!0),this.assertNoSpace(\\\"Unexpected space in placeholder.\\\"),this.expect(c.placeholder),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!(!e.expectedNode||\\\"Placeholder\\\"!==e.type);return e.expectedNode=t,r?e:this.finishNode(e,\\\"Placeholder\\\")}getTokenFromCode(e){return 37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(c.placeholder,2):super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder(\\\"Expression\\\")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder(\\\"Identifier\\\")||super.parseIdentifier(...arguments)}checkReservedWord(e){void 0!==e&&super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder(\\\"Pattern\\\")||super.parseBindingAtom(...arguments)}checkLVal(e){\\\"Placeholder\\\"!==e.type&&super.checkLVal(...arguments)}toAssignable(e){return e&&\\\"Placeholder\\\"===e.type&&\\\"Expression\\\"===e.expectedNode?(e.expectedNode=\\\"Pattern\\\",e):super.toAssignable(...arguments)}isLet(e){return!!super.isLet(e)||!!this.isContextual(\\\"let\\\")&&(!e&&this.lookahead().type===c.placeholder)}verifyBreakContinue(e){e.label&&\\\"Placeholder\\\"===e.label.type||super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(\\\"Placeholder\\\"!==t.type||t.extra&&t.extra.parenthesized)return super.parseExpressionStatement(...arguments);if(this.match(c.colon)){const r=e;return r.label=this.finishPlaceholder(t,\\\"Identifier\\\"),this.next(),r.body=this.parseStatement(\\\"label\\\"),this.finishNode(r,\\\"LabeledStatement\\\")}return this.semicolon(),e.name=t.name,this.finishPlaceholder(e,\\\"Statement\\\")}parseBlock(){return this.parsePlaceholder(\\\"BlockStatement\\\")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder(\\\"Identifier\\\")||super.parseFunctionId(...arguments)}parseClass(e,t,r){const n=t?\\\"ClassDeclaration\\\":\\\"ClassExpression\\\";this.next(),this.takeDecorators(e);const i=this.state.strict,s=this.parsePlaceholder(\\\"Identifier\\\");if(s)if(this.match(c._extends)||this.match(c.placeholder)||this.match(c.braceL))e.id=s;else{if(r||!t)return e.id=null,e.body=this.finishPlaceholder(s,\\\"ClassBody\\\"),this.finishNode(e,n);this.unexpected(null,ye.ClassNameIsRequired)}else this.parseClassId(e,t,r);return this.parseClassSuper(e),e.body=this.parsePlaceholder(\\\"ClassBody\\\")||this.parseClassBody(!!e.superClass,i),this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder(\\\"Identifier\\\");if(!t)return super.parseExport(...arguments);if(!this.isContextual(\\\"from\\\")&&!this.match(c.comma))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(t,\\\"Declaration\\\"),this.finishNode(e,\\\"ExportNamedDeclaration\\\");this.expectPlugin(\\\"exportDefaultFrom\\\");const r=this.startNode();return r.exported=t,e.specifiers=[this.finishNode(r,\\\"ExportDefaultSpecifier\\\")],super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(c._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,\\\"from\\\")&&this.input.startsWith(c.placeholder.label,this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return!!(e.specifiers&&e.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;null!=t&&t.length&&(e.specifiers=t.filter((e=>\\\"Placeholder\\\"===e.exported.type))),super.checkExport(e),e.specifiers=t}parseImport(e){const t=this.parsePlaceholder(\\\"Identifier\\\");if(!t)return super.parseImport(...arguments);if(e.specifiers=[],!this.isContextual(\\\"from\\\")&&!this.match(c.comma))return e.source=this.finishPlaceholder(t,\\\"StringLiteral\\\"),this.semicolon(),this.finishNode(e,\\\"ImportDeclaration\\\");const r=this.startNodeAtNode(t);return r.local=t,this.finishNode(r,\\\"ImportDefaultSpecifier\\\"),e.specifiers.push(r),this.eat(c.comma)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(\\\"from\\\"),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,\\\"ImportDeclaration\\\")}parseImportSource(){return this.parsePlaceholder(\\\"StringLiteral\\\")||super.parseImportSource(...arguments)}}},Ee=Object.keys(xe),Pe={sourceType:\\\"script\\\",sourceFilename:void 0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1};class ve{constructor(){this.strict=void 0,this.curLine=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inPipeline=!1,this.inType=!1,this.noAnonFunctionType=!1,this.inPropertyName=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.decoratorStack=[[]],this.comments=[],this.trailingComments=[],this.leadingComments=[],this.commentStack=[],this.commentPreviousNode=null,this.pos=0,this.lineStart=0,this.type=c.eof,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.lastTokEnd=0,this.context=[O.braceStatement],this.exprAllowed=!0,this.containsEsc=!1,this.strictErrors=new Map,this.exportedIdentifiers=[],this.tokensLength=0}init(e){this.strict=!1!==e.strictMode&&\\\"module\\\"===e.sourceType,this.curLine=e.startLine,this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new y(this.curLine,this.pos-this.lineStart)}clone(e){const t=new ve,r=Object.keys(this);for(let n=0,i=r.length;n=48&&e<=57};const we=new Set([\\\"g\\\",\\\"m\\\",\\\"s\\\",\\\"i\\\",\\\"y\\\",\\\"u\\\"]),Oe={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]},Ie={bin:[48,49]};Ie.oct=[...Ie.bin,50,51,52,53,54,55],Ie.dec=[...Ie.oct,56,57],Ie.hex=[...Ie.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Ne{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new T(e.startLoc,e.endLoc)}}class Ce extends A{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.state=new ve,this.state.init(e),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.isLookahead||(this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Ne(this.state))),this.state.lastTokEnd=this.state.end,this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return!!this.match(e)&&(this.next(),!0)}match(e){return this.state.type===e}lookahead(){const e=this.state;this.state=e.clone(!0),this.isLookahead=!0,this.next(),this.isLookahead=!1;const t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return f.lastIndex=e,e+f.exec(this.input)[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296==(64512&t)&&++ethis.raise(t,e))),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(null!=e&&e.preserveSpace||this.skipSpace(),this.state.start=this.state.pos,this.state.startLoc=this.state.curPosition(),this.state.pos>=this.length)return void this.finishToken(c.eof);const t=null==e?void 0:e.override;t?t(this):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}pushComment(e,t,r,n,i,s){const a={type:e?\\\"CommentBlock\\\":\\\"CommentLine\\\",value:t,start:r,end:n,loc:new T(i,s)};this.options.tokens&&this.pushToken(a),this.state.comments.push(a),this.addComment(a)}skipBlockComment(){const e=this.state.curPosition(),t=this.state.pos,r=this.input.indexOf(\\\"*/\\\",this.state.pos+2);if(-1===r)throw this.raise(t,E.UnterminatedComment);let n;for(this.state.pos=r+2,d.lastIndex=t;(n=d.exec(this.input))&&n.index=48&&t<=57)throw this.raise(this.state.pos,E.UnexpectedDigitAfterHash);if(123===t||91===t&&this.hasPlugin(\\\"recordAndTuple\\\")){if(this.expectPlugin(\\\"recordAndTuple\\\"),\\\"hash\\\"!==this.getPluginOption(\\\"recordAndTuple\\\",\\\"syntaxType\\\"))throw this.raise(this.state.pos,123===t?E.RecordExpressionHashIncorrectStartSyntaxType:E.TupleExpressionHashIncorrectStartSyntaxType);123===t?this.finishToken(c.braceHashL):this.finishToken(c.bracketHashL),this.state.pos+=2}else M(t)?(++this.state.pos,this.finishToken(c.privateName,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(c.privateName,this.readWord1())):this.finishOp(c.hash,1)}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(c.ellipsis)):(++this.state.pos,this.finishToken(c.dot))}readToken_slash(){if(this.state.exprAllowed&&!this.state.inType)return++this.state.pos,void this.readRegexp();61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(c.assign,2):this.finishOp(c.slash,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;const t=this.state.pos;for(this.state.pos+=1;!h(e)&&++this.state.pos=48&&t<=57?(++this.state.pos,this.finishToken(c.question)):(this.state.pos+=2,this.finishToken(c.questionDot))}getTokenFromCode(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(c.parenL);case 41:return++this.state.pos,void this.finishToken(c.parenR);case 59:return++this.state.pos,void this.finishToken(c.semi);case 44:return++this.state.pos,void this.finishToken(c.comma);case 91:if(this.hasPlugin(\\\"recordAndTuple\\\")&&124===this.input.charCodeAt(this.state.pos+1)){if(\\\"bar\\\"!==this.getPluginOption(\\\"recordAndTuple\\\",\\\"syntaxType\\\"))throw this.raise(this.state.pos,E.TupleExpressionBarIncorrectStartSyntaxType);this.finishToken(c.bracketBarL),this.state.pos+=2}else++this.state.pos,this.finishToken(c.bracketL);return;case 93:return++this.state.pos,void this.finishToken(c.bracketR);case 123:if(this.hasPlugin(\\\"recordAndTuple\\\")&&124===this.input.charCodeAt(this.state.pos+1)){if(\\\"bar\\\"!==this.getPluginOption(\\\"recordAndTuple\\\",\\\"syntaxType\\\"))throw this.raise(this.state.pos,E.RecordExpressionBarIncorrectStartSyntaxType);this.finishToken(c.braceBarL),this.state.pos+=2}else++this.state.pos,this.finishToken(c.braceL);return;case 125:return++this.state.pos,void this.finishToken(c.braceR);case 58:return void(this.hasPlugin(\\\"functionBind\\\")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(c.doubleColon,2):(++this.state.pos,this.finishToken(c.colon)));case 63:return void this.readToken_question();case 96:return++this.state.pos,void this.finishToken(c.backQuote);case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e)return void this.readRadixNumber(16);if(111===e||79===e)return void this.readRadixNumber(8);if(98===e||66===e)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:case 62:return void this.readToken_lt_gt(e);case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(c.tilde,1);case 64:return++this.state.pos,void this.finishToken(c.at);case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(M(e))return void this.readWord(e)}throw this.raise(this.state.pos,E.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)}readRegexp(){const e=this.state.pos;let t,r;for(;;){if(this.state.pos>=this.length)throw this.raise(e,E.UnterminatedRegExp);const n=this.input.charAt(this.state.pos);if(u.test(n))throw this.raise(e,E.UnterminatedRegExp);if(t)t=!1;else{if(\\\"[\\\"===n)r=!0;else if(\\\"]\\\"===n&&r)r=!1;else if(\\\"/\\\"===n&&!r)break;t=\\\"\\\\\\\\\\\"===n}++this.state.pos}const n=this.input.slice(e,this.state.pos);++this.state.pos;let i=\\\"\\\";for(;this.state.pos-1&&this.raise(this.state.pos+1,E.DuplicateRegExpFlags);else{if(!j(t)&&92!==t)break;this.raise(this.state.pos+1,E.MalformedRegExpFlags)}++this.state.pos,i+=e}this.finishToken(c.regexp,{pattern:n,flags:i})}readInt(e,t,r,n=!0){const i=this.state.pos,s=16===e?Oe.hex:Oe.decBinOct,a=16===e?Ie.hex:10===e?Ie.dec:8===e?Ie.oct:Ie.bin;let o=!1,l=0;for(let i=0,p=null==t?1/0:t;i=97?t-97+10:t>=65?t-65+10:Ae(t)?t-48:1/0,p>=e)if(this.options.errorRecovery&&p<=9)p=0,this.raise(this.state.start+i+2,E.InvalidDigit,e);else{if(!r)break;p=0,o=!0}++this.state.pos,l=l*e+p}else{const e=this.input.charCodeAt(this.state.pos-1),t=this.input.charCodeAt(this.state.pos+1);(-1===a.indexOf(t)||s.indexOf(e)>-1||s.indexOf(t)>-1||Number.isNaN(t))&&this.raise(this.state.pos,E.UnexpectedNumericSeparator),n||this.raise(this.state.pos,E.NumericSeparatorInEscapeSequence),++this.state.pos}}return this.state.pos===i||null!=t&&this.state.pos-i!==t||o?null:l}readRadixNumber(e){const t=this.state.pos;let r=!1;this.state.pos+=2;const n=this.readInt(e);null==n&&this.raise(this.state.start+2,E.InvalidDigit,e);const i=this.input.charCodeAt(this.state.pos);if(110===i)++this.state.pos,r=!0;else if(109===i)throw this.raise(t,E.InvalidDecimal);if(M(this.codePointAtPos(this.state.pos)))throw this.raise(this.state.pos,E.NumberIdentifier);if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,\\\"\\\");this.finishToken(c.bigint,e)}else this.finishToken(c.num,n)}readNumber(e){const t=this.state.pos;let r=!1,n=!1,i=!1,s=!1,a=!1;e||null!==this.readInt(10)||this.raise(t,E.InvalidNumber);const o=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(o){const e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(t,E.StrictOctalLiteral),!this.state.strict){const r=e.indexOf(\\\"_\\\");r>0&&this.raise(r+t,E.ZeroDigitNumericSeparator)}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(46!==l||a||(++this.state.pos,this.readInt(10),r=!0,l=this.input.charCodeAt(this.state.pos)),69!==l&&101!==l||a||(l=this.input.charCodeAt(++this.state.pos),43!==l&&45!==l||++this.state.pos,null===this.readInt(10)&&this.raise(t,E.InvalidOrMissingExponent),r=!0,s=!0,l=this.input.charCodeAt(this.state.pos)),110===l&&((r||o)&&this.raise(t,E.InvalidBigIntLiteral),++this.state.pos,n=!0),109===l&&(this.expectPlugin(\\\"decimal\\\",this.state.pos),(s||o)&&this.raise(t,E.InvalidDecimal),++this.state.pos,i=!0),M(this.codePointAtPos(this.state.pos)))throw this.raise(this.state.pos,E.NumberIdentifier);const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,\\\"\\\");if(n)return void this.finishToken(c.bigint,p);if(i)return void this.finishToken(c.decimal,p);const u=a?parseInt(p,8):parseFloat(p);this.finishToken(c.num,u)}readCodePoint(e){let t;if(123===this.input.charCodeAt(this.state.pos)){const r=++this.state.pos;if(t=this.readHexChar(this.input.indexOf(\\\"}\\\",this.state.pos)-this.state.pos,!0,e),++this.state.pos,null!==t&&t>1114111){if(!e)return null;this.raise(r,E.InvalidCodePoint)}}else t=this.readHexChar(4,!1,e);return t}readString(e){let t=\\\"\\\",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,E.UnterminatedString);const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(92===n)t+=this.input.slice(r,this.state.pos),t+=this.readEscapedChar(!1),r=this.state.pos;else if(8232===n||8233===n)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(h(n))throw this.raise(this.state.start,E.UnterminatedString);++this.state.pos}}t+=this.input.slice(r,this.state.pos++),this.finishToken(c.string,t)}readTmplToken(){let e=\\\"\\\",t=this.state.pos,r=!1;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,E.UnterminatedTemplate);const n=this.input.charCodeAt(this.state.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos===this.state.start&&this.match(c.template)?36===n?(this.state.pos+=2,void this.finishToken(c.dollarBraceL)):(++this.state.pos,void this.finishToken(c.backQuote)):(e+=this.input.slice(t,this.state.pos),void this.finishToken(c.template,r?null:e));if(92===n){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(!0);null===n?r=!0:e+=n,t=this.state.pos}else if(h(n)){switch(e+=this.input.slice(t,this.state.pos),++this.state.pos,n){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:e+=\\\"\\\\n\\\";break;default:e+=String.fromCharCode(n)}++this.state.curLine,this.state.lineStart=this.state.pos,t=this.state.pos}else++this.state.pos}}recordStrictModeErrors(e,t){this.state.strict&&!this.state.strictErrors.has(e)?this.raise(e,t):this.state.strictErrors.set(e,t)}readEscapedChar(e){const t=!e,r=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,r){case 110:return\\\"\\\\n\\\";case 114:return\\\"\\\\r\\\";case 120:{const e=this.readHexChar(2,!1,t);return null===e?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return null===e?null:String.fromCodePoint(e)}case 116:return\\\"\\\\t\\\";case 98:return\\\"\\\\b\\\";case 118:return\\\"\\\\v\\\";case 102:return\\\"\\\\f\\\";case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:this.state.lineStart=this.state.pos,++this.state.curLine;case 8232:case 8233:return\\\"\\\";case 56:case 57:if(e)return null;this.recordStrictModeErrors(this.state.pos-1,E.StrictNumericEscape);default:if(r>=48&&r<=55){const t=this.state.pos-1;let r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(r,8);n>255&&(r=r.slice(0,-1),n=parseInt(r,8)),this.state.pos+=r.length-1;const i=this.input.charCodeAt(this.state.pos);if(\\\"0\\\"!==r||56===i||57===i){if(e)return null;this.recordStrictModeErrors(t,E.StrictNumericEscape)}return String.fromCharCode(n)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos,i=this.readInt(16,e,t,!1);return null===i&&(r?this.raise(n,E.InvalidEscapeSequence):this.state.pos=n-1),i}readWord1(e){this.state.containsEsc=!1;let t=\\\"\\\";const r=this.state.pos;let n=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos{this.raise(r,t);let n=e.length-2,i=e[n];for(;i.canBeArrowParameterDeclaration();)i.clearDeclarationError(r),i=e[--n]}))}}function je(){return new _e}class Fe extends Ce{addExtra(e,t,r){e&&((e.extra=e.extra||{})[t]=r)}isRelational(e){return this.match(c.relational)&&this.state.value===e}expectRelational(e){this.isRelational(e)?this.next():this.unexpected(null,c.relational)}isContextual(e){return this.match(c.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;return this.input.slice(e,r)===t&&(r===this.input.length||!j(this.input.charCodeAt(r)))}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(c.name)}expectContextual(e,t){this.eatContextual(e)||this.unexpected(null,t)}canInsertSemicolon(){return this.match(c.eof)||this.match(c.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return u.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return u.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(c.semi)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(c.semi))||this.raise(this.state.lastTokEnd,E.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e=\\\"Unexpected space.\\\"){this.state.start>this.state.lastTokEnd&&this.raise(this.state.lastTokEnd,{code:x.SyntaxError,reasonCode:\\\"UnexpectedSpace\\\",template:e})}unexpected(e,t={code:x.SyntaxError,reasonCode:\\\"UnexpectedToken\\\",template:\\\"Unexpected token\\\"}){throw t instanceof a&&(t={code:x.SyntaxError,reasonCode:\\\"UnexpectedToken\\\",template:`Unexpected token, expected \\\"${t.label}\\\"`}),this.raise(null!=e?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e))throw this.raiseWithData(null!=t?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`);return!0}expectOnePlugin(e,t){if(!e.some((e=>this.hasPlugin(e))))throw this.raiseWithData(null!=t?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(\\\", \\\")}'`)}tryParse(e,t=this.state.clone()){const r={node:null};try{const n=e(((e=null)=>{throw r.node=e,r}));if(this.state.errors.length>t.errors.length){const e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:n,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:n,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){const n=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:n};if(e===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:n};throw e}}checkExpressionErrors(e,t){if(!e)return!1;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;r>=0&&this.unexpected(r),n>=0&&this.raise(n,E.DuplicateProto)}isLiteralPropertyName(){return this.match(c.name)||!!this.state.type.keyword||this.match(c.string)||this.match(c.num)||this.match(c.bigint)||this.match(c.decimal)}isPrivateName(e){return\\\"PrivateName\\\"===e.type}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(\\\"MemberExpression\\\"===e.type||\\\"OptionalMemberExpression\\\"===e.type)&&this.isPrivateName(e.property)}isOptionalChain(e){return\\\"OptionalMemberExpression\\\"===e.type||\\\"OptionalCallExpression\\\"===e.type}isObjectProperty(e){return\\\"ObjectProperty\\\"===e.type}isObjectMethod(e){return\\\"ObjectMethod\\\"===e.type}initializeScopes(e=\\\"module\\\"===this.options.sourceType){const t=this.state.labels;this.state.labels=[];const r=this.state.exportedIdentifiers;this.state.exportedIdentifiers=[];const n=this.inModule;this.inModule=e;const i=this.scope,s=this.getScopeHandler();this.scope=new s(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ce;const o=this.classScope;this.classScope=new De(this.raise.bind(this));const l=this.expressionScope;return this.expressionScope=new Me(this.raise.bind(this)),()=>{this.state.labels=t,this.state.exportedIdentifiers=r,this.inModule=n,this.scope=i,this.prodParam=a,this.classScope=o,this.expressionScope=l}}enterInitialScopes(){let e=0;this.hasPlugin(\\\"topLevelAwait\\\")&&this.inModule&&(e|=2),this.scope.enter(1),this.prodParam.enter(e)}}class Be{constructor(){this.shorthandAssign=-1,this.doubleProto=-1}}class Re{constructor(e,t,r){this.type=void 0,this.start=void 0,this.end=void 0,this.loc=void 0,this.range=void 0,this.leadingComments=void 0,this.trailingComments=void 0,this.innerComments=void 0,this.extra=void 0,this.type=\\\"\\\",this.start=t,this.end=0,this.loc=new T(r),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}__clone(){const e=new Re,t=Object.keys(this);for(let r=0,n=t.length;r\\\"ParenthesizedExpression\\\"===e.type?Ve(e.expression):e;class Ke extends Ue{toAssignable(e,t=!1){var r,n;let i;switch((\\\"ParenthesizedExpression\\\"===e.type||null!=(r=e.extra)&&r.parenthesized)&&(i=Ve(e),t?\\\"Identifier\\\"===i.type?this.expressionScope.recordParenthesizedIdentifierError(e.start,E.InvalidParenthesizedAssignment):\\\"MemberExpression\\\"!==i.type&&this.raise(e.start,E.InvalidParenthesizedAssignment):this.raise(e.start,E.InvalidParenthesizedAssignment)),e.type){case\\\"Identifier\\\":case\\\"ObjectPattern\\\":case\\\"ArrayPattern\\\":case\\\"AssignmentPattern\\\":break;case\\\"ObjectExpression\\\":e.type=\\\"ObjectPattern\\\";for(let r=0,n=e.properties.length,i=n-1;rthis.parseExpressionBase(t))):this.allowInAnd((()=>this.parseExpressionBase(t)))}parseExpressionBase(e){const t=this.state.start,r=this.state.startLoc,n=this.parseMaybeAssign(e);if(this.match(c.comma)){const i=this.startNodeAt(t,r);for(i.expressions=[n];this.eat(c.comma);)i.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(i.expressions),this.finishNode(i,\\\"SequenceExpression\\\")}return n}parseMaybeAssignDisallowIn(e,t,r){return this.disallowInAnd((()=>this.parseMaybeAssign(e,t,r)))}parseMaybeAssignAllowIn(e,t,r){return this.allowInAnd((()=>this.parseMaybeAssign(e,t,r)))}parseMaybeAssign(e,t,r){const n=this.state.start,i=this.state.startLoc;if(this.isContextual(\\\"yield\\\")&&this.prodParam.hasYield){this.state.exprAllowed=!0;let e=this.parseYield();return t&&(e=t.call(this,e,n,i)),e}let s;e?s=!1:(e=new Be,s=!0),(this.match(c.parenL)||this.match(c.name))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(e,r);if(t&&(a=t.call(this,a,n,i)),this.state.type.isAssign){const t=this.startNodeAt(n,i),r=this.state.value;return t.operator=r,this.match(c.eq)?(t.left=this.toAssignable(a,!0),e.doubleProto=-1):t.left=a,e.shorthandAssign>=t.left.start&&(e.shorthandAssign=-1),this.checkLVal(a,\\\"assignment expression\\\"),this.next(),t.right=this.parseMaybeAssign(),this.finishNode(t,\\\"AssignmentExpression\\\")}return s&&this.checkExpressionErrors(e,!0),a}parseMaybeConditional(e,t){const r=this.state.start,n=this.state.startLoc,i=this.state.potentialArrowAt,s=this.parseExprOps(e);return this.shouldExitDescending(s,i)?s:this.parseConditional(s,r,n,t)}parseConditional(e,t,r,n){if(this.eat(c.question)){const n=this.startNodeAt(t,r);return n.test=e,n.consequent=this.parseMaybeAssignAllowIn(),this.expect(c.colon),n.alternate=this.parseMaybeAssign(),this.finishNode(n,\\\"ConditionalExpression\\\")}return e}parseExprOps(e){const t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseMaybeUnary(e);return this.shouldExitDescending(i,n)?i:this.parseExprOp(i,t,r,-1)}parseExprOp(e,t,r,n){let i=this.state.type.binop;if(null!=i&&(this.prodParam.hasIn||!this.match(c._in))&&i>n){const s=this.state.type;if(s===c.pipeline){if(this.expectPlugin(\\\"pipelineOperator\\\"),this.state.inFSharpPipelineDirectBody)return e;this.state.inPipeline=!0,this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e,a.operator=this.state.value;const o=s===c.logicalOR||s===c.logicalAND,l=s===c.nullishCoalescing;if(l&&(i=c.logicalAND.binop),this.next(),s===c.pipeline&&\\\"minimal\\\"===this.getPluginOption(\\\"pipelineOperator\\\",\\\"proposal\\\")&&this.match(c.name)&&\\\"await\\\"===this.state.value&&this.prodParam.hasAwait)throw this.raise(this.state.start,E.UnexpectedAwaitAfterPipelineBody);a.right=this.parseExprOpRightExpr(s,i),this.finishNode(a,o||l?\\\"LogicalExpression\\\":\\\"BinaryExpression\\\");const p=this.state.type;if(l&&(p===c.logicalOR||p===c.logicalAND)||o&&p===c.nullishCoalescing)throw this.raise(this.state.start,E.MixingCoalesceWithLogical);return this.parseExprOp(a,t,r,n)}return e}parseExprOpRightExpr(e,t){const r=this.state.start,n=this.state.startLoc;if(e===c.pipeline)switch(this.getPluginOption(\\\"pipelineOperator\\\",\\\"proposal\\\")){case\\\"smart\\\":return this.withTopicPermittingContext((()=>this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)));case\\\"fsharp\\\":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){const r=this.state.start,n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){this.match(c.exponent)&&this.raise(e.argument.start,E.UnexpectedTokenUnaryExponentiation)}parseMaybeUnary(e,t){const r=this.state.start,n=this.state.startLoc,i=this.isContextual(\\\"await\\\");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);return t||this.checkExponentialAfterUnary(e),e}if(this.isContextual(\\\"module\\\")&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();const s=this.match(c.incDec),a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value,a.prefix=!0,this.match(c._throw)&&this.expectPlugin(\\\"throwExpressions\\\");const r=this.match(c._delete);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&r){const e=a.argument;\\\"Identifier\\\"===e.type?this.raise(a.start,E.StrictDelete):this.hasPropertyAsPrivateName(e)&&this.raise(a.start,E.DeletePrivateField)}if(!s)return t||this.checkExponentialAfterUnary(a),this.finishNode(a,\\\"UnaryExpression\\\")}const o=this.parseUpdate(a,s,e);return i&&(this.hasPlugin(\\\"v8intrinsic\\\")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(c.modulo))&&!this.isAmbiguousAwait()?(this.raiseOverwrite(r,this.hasPlugin(\\\"topLevelAwait\\\")?E.AwaitNotInAsyncContext:E.AwaitNotInAsyncFunction),this.parseAwait(r,n)):o}parseUpdate(e,t,r){if(t)return this.checkLVal(e.argument,\\\"prefix operation\\\"),this.finishNode(e,\\\"UpdateExpression\\\");const n=this.state.start,i=this.state.startLoc;let s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return s;for(;this.state.type.postfix&&!this.canInsertSemicolon();){const e=this.startNodeAt(n,i);e.operator=this.state.value,e.prefix=!1,e.argument=s,this.checkLVal(s,\\\"postfix operation\\\"),this.next(),s=this.finishNode(e,\\\"UpdateExpression\\\")}return s}parseExprSubscripts(e){const t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprAtom(e);return this.shouldExitDescending(i,n)?i:this.parseSubscripts(i,t,r)}parseSubscripts(e,t,r,n){const i={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,n,i),i.maybeAsyncArrow=!1}while(!i.stop);return e}parseSubscript(e,t,r,n,i){if(!n&&this.eat(c.doubleColon))return this.parseBind(e,t,r,n,i);if(this.match(c.backQuote))return this.parseTaggedTemplateExpression(e,t,r,i);let s=!1;if(this.match(c.questionDot)){if(n&&40===this.lookaheadCharCode())return i.stop=!0,e;i.optionalChainMember=s=!0,this.next()}return!n&&this.match(c.parenL)?this.parseCoverCallAndAsyncArrowHead(e,t,r,i,s):s||this.match(c.bracketL)||this.eat(c.dot)?this.parseMember(e,t,r,i,s):(i.stop=!0,e)}parseMember(e,t,r,n,i){const s=this.startNodeAt(t,r),a=this.eat(c.bracketL);s.object=e,s.computed=a;const o=!a&&this.match(c.privateName)&&this.state.value,l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(!0);return!1!==o&&(\\\"Super\\\"===s.object.type&&this.raise(t,E.SuperPrivateField),this.classScope.usePrivateName(o,l.start)),s.property=l,a&&this.expect(c.bracketR),n.optionalChainMember?(s.optional=i,this.finishNode(s,\\\"OptionalMemberExpression\\\")):this.finishNode(s,\\\"MemberExpression\\\")}parseBind(e,t,r,n,i){const s=this.startNodeAt(t,r);return s.object=e,s.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(s,\\\"BindExpression\\\"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,i){const s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0,this.next();let a=this.startNodeAt(t,r);return a.callee=e,n.maybeAsyncArrow&&this.expressionScope.enter(new Le(2)),n.optionalChainMember&&(a.optional=i),a.arguments=i?this.parseCallExpressionArguments(c.parenR,!1):this.parseCallExpressionArguments(c.parenR,n.maybeAsyncArrow,\\\"Import\\\"===e.type,\\\"Super\\\"!==e.type,a),this.finishCallExpression(a,n.optionalChainMember),n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i?(n.stop=!0,this.expressionScope.validateAsPattern(),this.expressionScope.exit(),a=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),a)):(n.maybeAsyncArrow&&this.expressionScope.exit(),this.toReferencedArguments(a)),this.state.maybeInArrowParameters=s,a}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const i=this.startNodeAt(t,r);return i.tag=e,i.quasi=this.parseTemplate(!0),n.optionalChainMember&&this.raise(t,E.OptionalChainingNoTemplate),this.finishNode(i,\\\"TaggedTemplateExpression\\\")}atPossibleAsyncArrow(e){return\\\"Identifier\\\"===e.type&&\\\"async\\\"===e.name&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(\\\"Import\\\"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin(\\\"moduleAttributes\\\")||this.expectPlugin(\\\"importAssertions\\\")),0===e.arguments.length||e.arguments.length>2)this.raise(e.start,E.ImportCallArity,this.hasPlugin(\\\"importAssertions\\\")||this.hasPlugin(\\\"moduleAttributes\\\")?\\\"one or two arguments\\\":\\\"one argument\\\");else for(const t of e.arguments)\\\"SpreadElement\\\"===t.type&&this.raise(t.start,E.ImportCallSpreadArgument);return this.finishNode(e,t?\\\"OptionalCallExpression\\\":\\\"CallExpression\\\")}parseCallExpressionArguments(e,t,r,n,i){const s=[];let a=!0;const o=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(a)a=!1;else if(this.expect(c.comma),this.match(e)){!r||this.hasPlugin(\\\"importAssertions\\\")||this.hasPlugin(\\\"moduleAttributes\\\")||this.raise(this.state.lastTokStart,E.ImportCallArgumentTrailingComma),i&&this.addExtra(i,\\\"trailingComma\\\",this.state.lastTokStart),this.next();break}s.push(this.parseExprListItem(!1,t?new Be:void 0,t?{start:0}:void 0,n))}return this.state.inFSharpPipelineDirectBody=o,s}shouldParseAsyncArrow(){return this.match(c.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;return this.expect(c.arrow),this.parseArrowExpression(e,t.arguments,!0,null==(r=t.extra)?void 0:r.trailingComma),e}parseNoCallExpr(){const e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)}parseExprAtom(e){this.state.type===c.slash&&this.readRegexp();const t=this.state.potentialArrowAt===this.state.start;let r;switch(this.state.type){case c._super:return this.parseSuper();case c._import:return r=this.startNode(),this.next(),this.match(c.dot)?this.parseImportMetaProperty(r):(this.match(c.parenL)||this.raise(this.state.lastTokStart,E.UnsupportedImport),this.finishNode(r,\\\"Import\\\"));case c._this:return r=this.startNode(),this.next(),this.finishNode(r,\\\"ThisExpression\\\");case c.name:{const e=this.state.containsEsc,r=this.parseIdentifier();if(!e&&\\\"async\\\"===r.name&&!this.canInsertSemicolon()){if(this.match(c._function)){const e=this.state.context.length-1;if(this.state.context[e]!==O.functionStatement)throw new Error(\\\"Internal error\\\");return this.state.context[e]=O.functionExpression,this.next(),this.parseFunction(this.startNodeAtNode(r),void 0,!0)}if(this.match(c.name))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(r):r;if(this.match(c._do))return this.parseDo(!0)}return t&&this.match(c.arrow)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(r),[r],!1)):r}case c._do:return this.parseDo(!1);case c.regexp:{const e=this.state.value;return r=this.parseLiteral(e.value,\\\"RegExpLiteral\\\"),r.pattern=e.pattern,r.flags=e.flags,r}case c.num:return this.parseLiteral(this.state.value,\\\"NumericLiteral\\\");case c.bigint:return this.parseLiteral(this.state.value,\\\"BigIntLiteral\\\");case c.decimal:return this.parseLiteral(this.state.value,\\\"DecimalLiteral\\\");case c.string:return this.parseLiteral(this.state.value,\\\"StringLiteral\\\");case c._null:return r=this.startNode(),this.next(),this.finishNode(r,\\\"NullLiteral\\\");case c._true:case c._false:return this.parseBooleanLiteral();case c.parenL:return this.parseParenAndDistinguishExpression(t);case c.bracketBarL:case c.bracketHashL:return this.parseArrayLike(this.state.type===c.bracketBarL?c.bracketBarR:c.bracketR,!1,!0,e);case c.bracketL:return this.parseArrayLike(c.bracketR,!0,!1,e);case c.braceBarL:case c.braceHashL:return this.parseObjectLike(this.state.type===c.braceBarL?c.braceBarR:c.braceR,!1,!0,e);case c.braceL:return this.parseObjectLike(c.braceR,!1,!1,e);case c._function:return this.parseFunctionOrFunctionSent();case c.at:this.parseDecorators();case c._class:return r=this.startNode(),this.takeDecorators(r),this.parseClass(r,!1);case c._new:return this.parseNewOrNewTarget();case c.backQuote:return this.parseTemplate(!1);case c.doubleColon:{r=this.startNode(),this.next(),r.object=null;const e=r.callee=this.parseNoCallExpr();if(\\\"MemberExpression\\\"===e.type)return this.finishNode(r,\\\"BindExpression\\\");throw this.raise(e.start,E.UnsupportedBind)}case c.privateName:{const e=this.state.start,t=this.state.value;if(r=this.parsePrivateName(),this.match(c._in))this.expectPlugin(\\\"privateIn\\\"),this.classScope.usePrivateName(t,r.start);else{if(!this.hasPlugin(\\\"privateIn\\\"))throw this.unexpected(e);this.raise(this.state.start,E.PrivateInExpectedIn,t)}return r}case c.hash:if(this.state.inPipeline)return r=this.startNode(),\\\"smart\\\"!==this.getPluginOption(\\\"pipelineOperator\\\",\\\"proposal\\\")&&this.raise(r.start,E.PrimaryTopicRequiresSmartPipeline),this.next(),this.primaryTopicReferenceIsAllowedInCurrentTopicContext()||this.raise(r.start,E.PrimaryTopicNotAllowed),this.registerTopicReference(),this.finishNode(r,\\\"PipelinePrimaryTopicReference\\\");case c.relational:if(\\\"<\\\"===this.state.value){const e=this.input.codePointAt(this.nextTokenStart());(M(e)||62===e)&&this.expectOnePlugin([\\\"jsx\\\",\\\"flow\\\",\\\"typescript\\\"])}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(ue(!0,this.prodParam.hasYield));const r=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(this.state.pos,E.LineTerminatorBeforeArrow),this.expect(c.arrow),this.parseArrowExpression(t,r,!0),t}parseDo(e){this.expectPlugin(\\\"doExpressions\\\"),e&&this.expectPlugin(\\\"asyncDoExpressions\\\");const t=this.startNode();t.async=e,this.next();const r=this.state.labels;return this.state.labels=[],e?(this.prodParam.enter(2),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=r,this.finishNode(t,\\\"DoExpression\\\")}parseSuper(){const e=this.startNode();return this.next(),!this.match(c.parenL)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(e.start,E.UnexpectedSuper):this.raise(e.start,E.SuperNotAllowed),this.match(c.parenL)||this.match(c.bracketL)||this.match(c.dot)||this.raise(e.start,E.UnsupportedSuper),this.finishNode(e,\\\"Super\\\")}parseBooleanLiteral(){const e=this.startNode();return e.value=this.match(c._true),this.next(),this.finishNode(e,\\\"BooleanLiteral\\\")}parseMaybePrivateName(e){return this.match(c.privateName)?(e||this.raise(this.state.start+1,E.UnexpectedPrivateField),this.parsePrivateName()):this.parseIdentifier(!0)}parsePrivateName(){const e=this.startNode(),t=this.startNodeAt(this.state.start+1,new y(this.state.curLine,this.state.start+1-this.state.lineStart)),r=this.state.value;return this.next(),e.id=this.createIdentifier(t,r),this.finishNode(e,\\\"PrivateName\\\")}parseFunctionOrFunctionSent(){const e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(c.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),\\\"function\\\");return this.next(),this.parseMetaProperty(e,t,\\\"sent\\\")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t,\\\"function\\\"===t.name&&\\\"sent\\\"===r&&(this.isContextual(r)?this.expectPlugin(\\\"functionSent\\\"):this.hasPlugin(\\\"functionSent\\\")||this.unexpected());const n=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||n)&&this.raise(e.property.start,E.UnsupportedMetaProperty,t.name,r),this.finishNode(e,\\\"MetaProperty\\\")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),\\\"import\\\");return this.next(),this.isContextual(\\\"meta\\\")&&(this.inModule||this.raise(t.start,P.ImportMetaOutsideModule),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,\\\"meta\\\")}parseLiteral(e,t,r,n){r=r||this.state.start,n=n||this.state.startLoc;const i=this.startNodeAt(r,n);return this.addExtra(i,\\\"rawValue\\\",e),this.addExtra(i,\\\"raw\\\",this.input.slice(r,this.state.end)),i.value=e,this.next(),this.finishNode(i,t)}parseParenAndDistinguishExpression(e){const t=this.state.start,r=this.state.startLoc;let n;this.next(),this.expressionScope.enter(new Le(1));const i=this.state.maybeInArrowParameters,s=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const a=this.state.start,o=this.state.startLoc,l=[],p=new Be,u={start:0};let d,h,f=!0;for(;!this.match(c.parenR);){if(f)f=!1;else if(this.expect(c.comma,u.start||null),this.match(c.parenR)){h=this.state.start;break}if(this.match(c.ellipsis)){const e=this.state.start,t=this.state.startLoc;d=this.state.start,l.push(this.parseParenItem(this.parseRestBinding(),e,t)),this.checkCommaAfterRest(41);break}l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,u))}const m=this.state.lastTokEnd,y=this.state.lastTokEndLoc;this.expect(c.parenR),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=s;let T=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(T=this.parseArrow(T)))return this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(T,l,!1),T;if(this.expressionScope.exit(),l.length||this.unexpected(this.state.lastTokStart),h&&this.unexpected(h),d&&this.unexpected(d),this.checkExpressionErrors(p,!0),u.start&&this.unexpected(u.start),this.toReferencedListDeep(l,!0),l.length>1?(n=this.startNodeAt(a,o),n.expressions=l,this.finishNodeAt(n,\\\"SequenceExpression\\\",m,y)):n=l[0],!this.options.createParenthesizedExpressions)return this.addExtra(n,\\\"parenthesized\\\",!0),this.addExtra(n,\\\"parenStart\\\",t),n;const b=this.startNodeAt(t,r);return b.expression=n,this.finishNode(b,\\\"ParenthesizedExpression\\\"),b}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(c.arrow))return e}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();if(this.next(),this.match(c.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),\\\"new\\\");this.next();const r=this.parseMetaProperty(e,t,\\\"target\\\");return this.scope.inNonArrowFunction||this.scope.inClass||this.raise(r.start,E.UnexpectedNewTarget),r}return this.parseNew(e)}parseNew(e){return e.callee=this.parseNoCallExpr(),\\\"Import\\\"===e.callee.type?this.raise(e.callee.start,E.ImportCallNotNewExpression):this.isOptionalChain(e.callee)?this.raise(this.state.lastTokEnd,E.OptionalChainingNoNew):this.eat(c.questionDot)&&this.raise(this.state.start,E.OptionalChainingNoNew),this.parseNewArguments(e),this.finishNode(e,\\\"NewExpression\\\")}parseNewArguments(e){if(this.eat(c.parenL)){const t=this.parseExprList(c.parenR);this.toReferencedList(t),e.arguments=t}else e.arguments=[]}parseTemplateElement(e){const t=this.startNode();return null===this.state.value&&(e||this.raise(this.state.start+1,E.InvalidEscapeSequenceTemplate)),t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\\\\r\\\\n?/g,\\\"\\\\n\\\"),cooked:this.state.value},this.next(),t.tail=this.match(c.backQuote),this.finishNode(t,\\\"TemplateElement\\\")}parseTemplate(e){const t=this.startNode();this.next(),t.expressions=[];let r=this.parseTemplateElement(e);for(t.quasis=[r];!r.tail;)this.expect(c.dollarBraceL),t.expressions.push(this.parseTemplateSubstitution()),this.expect(c.braceR),t.quasis.push(r=this.parseTemplateElement(e));return this.next(),this.finishNode(t,\\\"TemplateLiteral\\\")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){r&&this.expectPlugin(\\\"recordAndTuple\\\");const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const s=Object.create(null);let a=!0;const o=this.startNode();for(o.properties=[],this.next();!this.match(e);){if(a)a=!1;else if(this.expect(c.comma),this.match(e)){this.addExtra(o,\\\"trailingComma\\\",this.state.lastTokStart);break}const i=this.parsePropertyDefinition(t,n);t||this.checkProto(i,r,s,n),r&&!this.isObjectProperty(i)&&\\\"SpreadElement\\\"!==i.type&&this.raise(i.start,E.InvalidRecordProperty),i.shorthand&&this.addExtra(i,\\\"shorthand\\\",!0),o.properties.push(i)}this.state.exprAllowed=!1,this.next(),this.state.inFSharpPipelineDirectBody=i;let l=\\\"ObjectExpression\\\";return t?l=\\\"ObjectPattern\\\":r&&(l=\\\"RecordExpression\\\"),this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&\\\"Identifier\\\"===e.key.type&&(this.isLiteralPropertyName()||this.match(c.bracketL)||this.match(c.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(c.at))for(this.hasPlugin(\\\"decorators\\\")&&this.raise(this.state.start,E.UnsupportedPropertyDecorator);this.match(c.at);)r.push(this.parseDecorator());const n=this.startNode();let i,s,a=!1,o=!1,l=!1;if(this.match(c.ellipsis))return r.length&&this.unexpected(),e?(this.next(),n.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(n,\\\"RestElement\\\")):this.parseSpread();r.length&&(n.decorators=r,r=[]),n.method=!1,(e||t)&&(i=this.state.start,s=this.state.startLoc),e||(a=this.eat(c.star));const p=this.state.containsEsc,u=this.parsePropertyName(n,!1);if(!e&&!a&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=u.name;\\\"async\\\"!==e||this.hasPrecedingLineBreak()||(o=!0,a=this.eat(c.star),this.parsePropertyName(n,!1)),\\\"get\\\"!==e&&\\\"set\\\"!==e||(l=!0,n.kind=e,this.match(c.star)&&(a=!0,this.raise(this.state.pos,E.AccessorIsGenerator,e),this.next()),this.parsePropertyName(n,!1))}return this.parseObjPropValue(n,i,s,a,o,e,l,t),n}getGetterSetterExpectedParamCount(e){return\\\"get\\\"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e),i=e.start;n.length!==r&&(\\\"get\\\"===e.kind?this.raise(i,E.BadGetterArity):this.raise(i,E.BadSetterArity)),\\\"set\\\"===e.kind&&\\\"RestElement\\\"===(null==(t=n[n.length-1])?void 0:t.type)&&this.raise(i,E.BadSetterRestParameter)}parseObjectMethod(e,t,r,n,i){return i?(this.parseMethod(e,t,!1,!1,!1,\\\"ObjectMethod\\\"),this.checkGetterSetterParams(e),e):r||t||this.match(c.parenL)?(n&&this.unexpected(),e.kind=\\\"method\\\",e.method=!0,this.parseMethod(e,t,r,!1,!1,\\\"ObjectMethod\\\")):void 0}parseObjectProperty(e,t,r,n,i){return e.shorthand=!1,this.eat(c.colon)?(e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i),this.finishNode(e,\\\"ObjectProperty\\\")):e.computed||\\\"Identifier\\\"!==e.key.type?void 0:(this.checkReservedWord(e.key.name,e.key.start,!0,!1),n?e.value=this.parseMaybeDefault(t,r,e.key.__clone()):this.match(c.eq)&&i?(-1===i.shorthandAssign&&(i.shorthandAssign=this.state.start),e.value=this.parseMaybeDefault(t,r,e.key.__clone())):e.value=e.key.__clone(),e.shorthand=!0,this.finishNode(e,\\\"ObjectProperty\\\"))}parseObjPropValue(e,t,r,n,i,s,a,o){const l=this.parseObjectMethod(e,n,i,s,a)||this.parseObjectProperty(e,t,r,s,o);return l||this.unexpected(),l}parsePropertyName(e,t){if(this.eat(c.bracketL))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(c.bracketR);else{const r=this.state.inPropertyName;this.state.inPropertyName=!0;const n=this.state.type;e.key=n===c.num||n===c.string||n===c.bigint||n===c.decimal?this.parseExprAtom():this.parseMaybePrivateName(t),n!==c.privateName&&(e.computed=!1),this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=!!t}parseMethod(e,t,r,n,i,s,a=!1){this.initFunction(e,r),e.generator=!!t;const o=n;return this.scope.enter(18|(a?64:0)|(i?32:0)),this.prodParam.enter(ue(r,e.generator)),this.parseFunctionParams(e,o),this.parseFunctionBodyAndFinish(e,s,!0),this.prodParam.exit(),this.scope.exit(),e}parseArrayLike(e,t,r,n){r&&this.expectPlugin(\\\"recordAndTuple\\\");const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const s=this.startNode();return this.next(),s.elements=this.parseExprList(e,!r,n,s),this.state.inFSharpPipelineDirectBody=i,this.finishNode(s,r?\\\"TupleExpression\\\":\\\"ArrayExpression\\\")}parseArrowExpression(e,t,r,n){this.scope.enter(6);let i=ue(r,!1);!this.match(c.bracketL)&&this.prodParam.hasIn&&(i|=8),this.prodParam.enter(i),this.initFunction(e,r);const s=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,n)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=s,this.finishNode(e,\\\"ArrowFunctionExpression\\\")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,!1)}parseFunctionBodyAndFinish(e,t,r=!1){this.parseFunctionBody(e,!1,r),this.finishNode(e,t)}parseFunctionBody(e,t,r=!1){const n=t&&!this.match(c.braceL);if(this.expressionScope.enter(je()),n)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{const n=this.state.strict,i=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),e.body=this.parseBlock(!0,!1,(i=>{const s=!this.isSimpleParamList(e.params);if(i&&s){const t=\\\"method\\\"!==e.kind&&\\\"constructor\\\"!==e.kind||!e.key?e.start:e.key.end;this.raise(t,E.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!(this.state.strict||t||r||s),t,a),this.state.strict&&e.id&&this.checkLVal(e.id,\\\"function name\\\",65,void 0,void 0,a)})),this.prodParam.exit(),this.expressionScope.exit(),this.state.labels=i}}isSimpleParamList(e){for(let t=0,r=e.length;t=1}topicReferenceWasUsedInCurrentTopicContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start,r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const i=this.parseExprOp(this.parseMaybeUnary(),t,r,e);return this.state.inFSharpPipelineDirectBody=n,i}parseModuleExpression(){this.expectPlugin(\\\"moduleBlocks\\\");const e=this.startNode();this.next(),this.eat(c.braceL);const t=this.initializeScopes(!0);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,c.braceR,\\\"module\\\")}finally{t()}return this.eat(c.braceR),this.finishNode(e,\\\"ModuleExpression\\\")}}const Ye={kind:\\\"loop\\\"},We={kind:\\\"switch\\\"},Xe=/[\\\\uD800-\\\\uDFFF]/u;class Je extends qe{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.state.comments,this.options.tokens&&(e.tokens=function(e){for(let t=0;t0)for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,E.ModuleExportUndefined,e)}return this.finishNode(e,\\\"Program\\\")}stmtToDirective(e){const t=e.expression,r=this.startNodeAt(t.start,t.loc.start),n=this.startNodeAt(e.start,e.loc.start),i=this.input.slice(t.start,t.end),s=r.value=i.slice(1,-1);return this.addExtra(r,\\\"raw\\\",i),this.addExtra(r,\\\"rawValue\\\",s),n.value=this.finishNodeAt(r,\\\"DirectiveLiteral\\\",t.end,t.loc.end),this.finishNodeAt(n,\\\"Directive\\\",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(c.interpreterDirective))return null;const e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,\\\"InterpreterDirective\\\")}isLet(e){return!!this.isContextual(\\\"let\\\")&&this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart(),r=this.input.charCodeAt(t);if(92===r||91===r)return!0;if(e)return!1;if(123===r)return!0;if(M(r)){let e=t+1;for(;j(this.input.charCodeAt(e));)++e;const r=this.input.slice(t,e);if(!W.test(r))return!0}return!1}parseStatement(e,t){return this.match(c.at)&&this.parseDecorators(!0),this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let i;switch(this.isLet(e)&&(r=c._var,i=\\\"let\\\"),r){case c._break:case c._continue:return this.parseBreakContinueStatement(n,r.keyword);case c._debugger:return this.parseDebuggerStatement(n);case c._do:return this.parseDoStatement(n);case c._for:return this.parseForStatement(n);case c._function:if(46===this.lookaheadCharCode())break;return e&&(this.state.strict?this.raise(this.state.start,E.StrictFunction):\\\"if\\\"!==e&&\\\"label\\\"!==e&&this.raise(this.state.start,E.SloppyFunction)),this.parseFunctionStatement(n,!1,!e);case c._class:return e&&this.unexpected(),this.parseClass(n,!0);case c._if:return this.parseIfStatement(n);case c._return:return this.parseReturnStatement(n);case c._switch:return this.parseSwitchStatement(n);case c._throw:return this.parseThrowStatement(n);case c._try:return this.parseTryStatement(n);case c._const:case c._var:return i=i||this.state.value,e&&\\\"var\\\"!==i&&this.raise(this.state.start,E.UnexpectedLexicalDeclaration),this.parseVarStatement(n,i);case c._while:return this.parseWhileStatement(n);case c._with:return this.parseWithStatement(n);case c.braceL:return this.parseBlock();case c.semi:return this.parseEmptyStatement(n);case c._import:{const e=this.lookaheadCharCode();if(40===e||46===e)break}case c._export:{let e;return this.options.allowImportExportEverywhere||t||this.raise(this.state.start,E.UnexpectedImportExport),this.next(),r===c._import?(e=this.parseImport(n),\\\"ImportDeclaration\\\"!==e.type||e.importKind&&\\\"value\\\"!==e.importKind||(this.sawUnambiguousESM=!0)):(e=this.parseExport(n),(\\\"ExportNamedDeclaration\\\"!==e.type||e.exportKind&&\\\"value\\\"!==e.exportKind)&&(\\\"ExportAllDeclaration\\\"!==e.type||e.exportKind&&\\\"value\\\"!==e.exportKind)&&\\\"ExportDefaultDeclaration\\\"!==e.type||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(n),e}default:if(this.isAsyncFunction())return e&&this.raise(this.state.start,E.AsyncFunctionInSingleStatementContext),this.next(),this.parseFunctionStatement(n,!0,!e)}const s=this.state.value,a=this.parseExpression();return r===c.name&&\\\"Identifier\\\"===a.type&&this.eat(c.colon)?this.parseLabeledStatement(n,s,a,e):this.parseExpressionStatement(n,a)}assertModuleNodeAllowed(e){this.options.allowImportExportEverywhere||this.inModule||this.raise(e.start,P.ImportOutsideModule)}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];t.length&&(e.decorators=t,this.resetStartLocationFromNode(e,t[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])}canHaveLeadingDecorator(){return this.match(c._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];for(;this.match(c.at);){const e=this.parseDecorator();t.push(e)}if(this.match(c._export))e||this.unexpected(),this.hasPlugin(\\\"decorators\\\")&&!this.getPluginOption(\\\"decorators\\\",\\\"decoratorsBeforeExport\\\")&&this.raise(this.state.start,E.DecoratorExportClass);else if(!this.canHaveLeadingDecorator())throw this.raise(this.state.start,E.UnexpectedLeadingDecorator)}parseDecorator(){this.expectOnePlugin([\\\"decorators-legacy\\\",\\\"decorators\\\"]);const e=this.startNode();if(this.next(),this.hasPlugin(\\\"decorators\\\")){this.state.decoratorStack.push([]);const t=this.state.start,r=this.state.startLoc;let n;if(this.eat(c.parenL))n=this.parseExpression(),this.expect(c.parenR);else for(n=this.parseIdentifier(!1);this.eat(c.dot);){const e=this.startNodeAt(t,r);e.object=n,e.property=this.parseIdentifier(!0),e.computed=!1,n=this.finishNode(e,\\\"MemberExpression\\\")}e.expression=this.parseMaybeDecoratorArguments(n),this.state.decoratorStack.pop()}else e.expression=this.parseExprSubscripts();return this.finishNode(e,\\\"Decorator\\\")}parseMaybeDecoratorArguments(e){if(this.eat(c.parenL)){const t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(c.parenR,!1),this.toReferencedList(t.arguments),this.finishNode(t,\\\"CallExpression\\\")}return e}parseBreakContinueStatement(e,t){const r=\\\"break\\\"===t;return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,r?\\\"BreakStatement\\\":\\\"ContinueStatement\\\")}verifyBreakContinue(e,t){const r=\\\"break\\\"===t;let n;for(n=0;nthis.parseStatement(\\\"do\\\"))),this.state.labels.pop(),this.expect(c._while),e.test=this.parseHeaderExpression(),this.eat(c.semi),this.finishNode(e,\\\"DoWhileStatement\\\")}parseForStatement(e){this.next(),this.state.labels.push(Ye);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual(\\\"await\\\")&&(t=this.state.lastTokStart),this.scope.enter(0),this.expect(c.parenL),this.match(c.semi))return t>-1&&this.unexpected(t),this.parseFor(e,null);const r=this.isContextual(\\\"let\\\"),n=r&&this.isLetKeyword();if(this.match(c._var)||this.match(c._const)||n){const r=this.startNode(),i=n?\\\"let\\\":this.state.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,\\\"VariableDeclaration\\\"),(this.match(c._in)||this.isContextual(\\\"of\\\"))&&1===r.declarations.length?this.parseForIn(e,r,t):(t>-1&&this.unexpected(t),this.parseFor(e,r))}const i=this.match(c.name)&&!this.state.containsEsc,s=new Be,a=this.parseExpression(!0,s),o=this.isContextual(\\\"of\\\");if(o&&(r?this.raise(a.start,E.ForOfLet):-1===t&&i&&\\\"Identifier\\\"===a.type&&\\\"async\\\"===a.name&&this.raise(a.start,E.ForOfAsync)),o||this.match(c._in)){this.toAssignable(a,!0);const r=o?\\\"for-of statement\\\":\\\"for-in statement\\\";return this.checkLVal(a,r),this.parseForIn(e,a,t)}return this.checkExpressionErrors(s,!0),t>-1&&this.unexpected(t),this.parseFor(e,a)}parseFunctionStatement(e,t,r){return this.next(),this.parseFunction(e,1|(r?0:2),t)}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatement(\\\"if\\\"),e.alternate=this.eat(c._else)?this.parseStatement(\\\"if\\\"):null,this.finishNode(e,\\\"IfStatement\\\")}parseReturnStatement(e){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(this.state.start,E.IllegalReturn),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,\\\"ReturnStatement\\\")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();const t=e.cases=[];let r;this.expect(c.braceL),this.state.labels.push(We),this.scope.enter(0);for(let e;!this.match(c.braceR);)if(this.match(c._case)||this.match(c._default)){const n=this.match(c._case);r&&this.finishNode(r,\\\"SwitchCase\\\"),t.push(r=this.startNode()),r.consequent=[],this.next(),n?r.test=this.parseExpression():(e&&this.raise(this.state.lastTokStart,E.MultipleDefaultsInSwitch),e=!0,r.test=null),this.expect(c.colon)}else r?r.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),r&&this.finishNode(r,\\\"SwitchCase\\\"),this.next(),this.state.labels.pop(),this.finishNode(e,\\\"SwitchStatement\\\")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(this.state.lastTokEnd,E.NewlineAfterThrow),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,\\\"ThrowStatement\\\")}parseCatchClauseParam(){const e=this.parseBindingAtom(),t=\\\"Identifier\\\"===e.type;return this.scope.enter(t?8:0),this.checkLVal(e,\\\"catch clause\\\",9),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(c._catch)){const t=this.startNode();this.next(),this.match(c.parenL)?(this.expect(c.parenL),t.param=this.parseCatchClauseParam(),this.expect(c.parenR)):(t.param=null,this.scope.enter(0)),t.body=this.withTopicForbiddingContext((()=>this.parseBlock(!1,!1))),this.scope.exit(),e.handler=this.finishNode(t,\\\"CatchClause\\\")}return e.finalizer=this.eat(c._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,E.NoCatchOrFinally),this.finishNode(e,\\\"TryStatement\\\")}parseVarStatement(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,\\\"VariableDeclaration\\\")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(Ye),e.body=this.withTopicForbiddingContext((()=>this.parseStatement(\\\"while\\\"))),this.state.labels.pop(),this.finishNode(e,\\\"WhileStatement\\\")}parseWithStatement(e){return this.state.strict&&this.raise(this.state.start,E.StrictWith),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withTopicForbiddingContext((()=>this.parseStatement(\\\"with\\\"))),this.finishNode(e,\\\"WithStatement\\\")}parseEmptyStatement(e){return this.next(),this.finishNode(e,\\\"EmptyStatement\\\")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels)e.name===t&&this.raise(r.start,E.LabelRedeclaration,t);const i=this.state.type.isLoop?\\\"loop\\\":this.match(c._switch)?\\\"switch\\\":null;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart!==e.start)break;r.statementStart=this.state.start,r.kind=i}return this.state.labels.push({name:t,kind:i,statementStart:this.state.start}),e.body=this.parseStatement(n?-1===n.indexOf(\\\"label\\\")?n+\\\"label\\\":n:\\\"label\\\"),this.state.labels.pop(),e.label=r,this.finishNode(e,\\\"LabeledStatement\\\")}parseExpressionStatement(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,\\\"ExpressionStatement\\\")}parseBlock(e=!1,t=!0,r){const n=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(c.braceL),t&&this.scope.enter(0),this.parseBlockBody(n,e,!1,c.braceR,r),t&&this.scope.exit(),this.finishNode(n,\\\"BlockStatement\\\")}isValidDirective(e){return\\\"ExpressionStatement\\\"===e.type&&\\\"StringLiteral\\\"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){const s=e.body=[],a=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?a:void 0,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){const s=this.state.strict;let a=!1,o=!1;for(;!this.match(n);){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e),a||\\\"use strict\\\"!==e.value.value||(a=!0,this.setStrict(!0));continue}o=!0,this.state.strictErrors.clear()}e.push(n)}i&&i.call(this,a),s||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(c.semi)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(c.parenR)?null:this.parseExpression(),this.expect(c.parenR),e.body=this.withTopicForbiddingContext((()=>this.parseStatement(\\\"for\\\"))),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,\\\"ForStatement\\\")}parseForIn(e,t,r){const n=this.match(c._in);return this.next(),n?r>-1&&this.unexpected(r):e.await=r>-1,\\\"VariableDeclaration\\\"!==t.type||null==t.declarations[0].init||n&&!this.state.strict&&\\\"var\\\"===t.kind&&\\\"Identifier\\\"===t.declarations[0].id.type?\\\"AssignmentPattern\\\"===t.type&&this.raise(t.start,E.InvalidLhs,\\\"for-loop\\\"):this.raise(t.start,E.ForInOfLoopInitializer,n?\\\"for-in\\\":\\\"for-of\\\"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(c.parenR),e.body=this.withTopicForbiddingContext((()=>this.parseStatement(\\\"for\\\"))),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,n?\\\"ForInStatement\\\":\\\"ForOfStatement\\\")}parseVar(e,t,r){const n=e.declarations=[],i=this.hasPlugin(\\\"typescript\\\");for(e.kind=r;;){const e=this.startNode();if(this.parseVarId(e,r),this.eat(c.eq)?e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():(\\\"const\\\"!==r||this.match(c._in)||this.isContextual(\\\"of\\\")?\\\"Identifier\\\"===e.id.type||t&&(this.match(c._in)||this.isContextual(\\\"of\\\"))||this.raise(this.state.lastTokEnd,E.DeclarationMissingInitializer,\\\"Complex binding patterns\\\"):i||this.raise(this.state.lastTokEnd,E.DeclarationMissingInitializer,\\\"Const declarations\\\"),e.init=null),n.push(this.finishNode(e,\\\"VariableDeclarator\\\")),!this.eat(c.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,\\\"variable declaration\\\",\\\"var\\\"===t?5:9,void 0,\\\"var\\\"!==t)}parseFunction(e,t=0,r=!1){const n=1&t,i=2&t,s=!(!n||4&t);this.initFunction(e,r),this.match(c.star)&&i&&this.raise(this.state.start,E.GeneratorInSingleStatementContext),e.generator=this.eat(c.star),n&&(e.id=this.parseFunctionId(s));const a=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(ue(r,e.generator)),n||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,n?\\\"FunctionDeclaration\\\":\\\"FunctionExpression\\\")})),this.prodParam.exit(),this.scope.exit(),n&&!i&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=a,e}parseFunctionId(e){return e||this.match(c.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(c.parenL),this.expressionScope.enter(new _e(3)),e.params=this.parseBindingList(c.parenR,41,!1,t),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:9:17,e.id.start)}parseClass(e,t,r){this.next(),this.takeDecorators(e);const n=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,n),this.finishNode(e,t?\\\"ClassDeclaration\\\":\\\"ClassExpression\\\")}isClassProperty(){return this.match(c.eq)||this.match(c.semi)||this.match(c.braceR)}isClassMethod(){return this.match(c.parenL)}isNonstaticConstructor(e){return!(e.computed||e.static||\\\"constructor\\\"!==e.key.name&&\\\"constructor\\\"!==e.key.value)}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:!1,hadSuperClass:e};let n=[];const i=this.startNode();if(i.body=[],this.expect(c.braceL),this.withTopicForbiddingContext((()=>{for(;!this.match(c.braceR);){if(this.eat(c.semi)){if(n.length>0)throw this.raise(this.state.lastTokEnd,E.DecoratorSemicolon);continue}if(this.match(c.at)){n.push(this.parseDecorator());continue}const e=this.startNode();n.length&&(e.decorators=n,this.resetStartLocationFromNode(e,n[0]),n=[]),this.parseClassMember(i,e,r),\\\"constructor\\\"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(e.start,E.DecoratorConstructor)}})),this.state.strict=t,this.next(),n.length)throw this.raise(this.state.start,E.TrailingDecorator);return this.classScope.exit(),this.finishNode(i,\\\"ClassBody\\\")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(!0);if(this.isClassMethod()){const n=t;return n.kind=\\\"method\\\",n.computed=!1,n.key=r,n.static=!1,this.pushClassMethod(e,n,!1,!1,!1,!1),!0}if(this.isClassProperty()){const n=t;return n.computed=!1,n.key=r,n.static=!1,e.body.push(this.parseClassProperty(n)),!0}return!1}parseClassMember(e,t,r){const n=this.isContextual(\\\"static\\\");if(n){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(c.braceL))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const i=t,s=t,a=t,o=t,l=i,p=i;if(t.static=n,this.eat(c.star)){l.kind=\\\"method\\\";const t=this.match(c.privateName);return this.parseClassElementName(l),t?void this.pushClassPrivateMethod(e,s,!0,!1):(this.isNonstaticConstructor(i)&&this.raise(i.key.start,E.ConstructorIsGenerator),void this.pushClassMethod(e,i,!0,!1,!1,!1))}const u=this.state.containsEsc,d=this.match(c.privateName),h=this.parseClassElementName(t),f=\\\"Identifier\\\"===h.type,m=this.state.start;if(this.parsePostMemberNameModifiers(p),this.isClassMethod()){if(l.kind=\\\"method\\\",d)return void this.pushClassPrivateMethod(e,s,!1,!1);const n=this.isNonstaticConstructor(i);let a=!1;n&&(i.kind=\\\"constructor\\\",r.hadConstructor&&!this.hasPlugin(\\\"typescript\\\")&&this.raise(h.start,E.DuplicateConstructor),n&&this.hasPlugin(\\\"typescript\\\")&&t.override&&this.raise(h.start,E.OverrideOnConstructor),r.hadConstructor=!0,a=r.hadSuperClass),this.pushClassMethod(e,i,!1,!1,n,a)}else if(this.isClassProperty())d?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,a);else if(!f||\\\"async\\\"!==h.name||u||this.isLineTerminator())if(!f||\\\"get\\\"!==h.name&&\\\"set\\\"!==h.name||u||this.match(c.star)&&this.isLineTerminator())this.isLineTerminator()?d?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,a):this.unexpected();else{l.kind=h.name;const t=this.match(c.privateName);this.parseClassElementName(i),t?this.pushClassPrivateMethod(e,s,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(i.key.start,E.ConstructorIsAccessor),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}else{const t=this.eat(c.star);p.optional&&this.unexpected(m),l.kind=\\\"method\\\";const r=this.match(c.privateName);this.parseClassElementName(l),this.parsePostMemberNameModifiers(p),r?this.pushClassPrivateMethod(e,s,t,!0):(this.isNonstaticConstructor(i)&&this.raise(i.key.start,E.ConstructorIsAsync),this.pushClassMethod(e,i,t,!0,!1,!1))}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;return t!==c.name&&t!==c.string||!e.static||\\\"prototype\\\"!==r||this.raise(n,E.StaticPrototype),t===c.privateName&&\\\"constructor\\\"===r&&this.raise(n,E.ConstructorClassPrivateField),this.parsePropertyName(e,!0)}parseClassStaticBlock(e,t){var r;this.expectPlugin(\\\"classStaticBlock\\\",t.start),this.scope.enter(208);const n=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,c.braceR),this.prodParam.exit(),this.scope.exit(),this.state.labels=n,e.body.push(this.finishNode(t,\\\"StaticBlock\\\")),null!=(r=t.decorators)&&r.length&&this.raise(t.start,E.DecoratorStaticBlock)}pushClassProperty(e,t){t.computed||\\\"constructor\\\"!==t.key.name&&\\\"constructor\\\"!==t.key.value||this.raise(t.key.start,E.ConstructorClassField),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const r=this.parseClassPrivateProperty(t);e.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.start)}pushClassMethod(e,t,r,n,i,s){e.body.push(this.parseMethod(t,r,n,i,s,\\\"ClassMethod\\\",!0))}pushClassPrivateMethod(e,t,r,n){const i=this.parseMethod(t,r,n,!1,!1,\\\"ClassPrivateMethod\\\",!0);e.body.push(i);const s=\\\"get\\\"===i.kind?i.static?6:2:\\\"set\\\"===i.kind?i.static?5:1:0;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),s,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,\\\"ClassPrivateProperty\\\")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,\\\"ClassProperty\\\")}parseInitializer(e){this.scope.enter(80),this.expressionScope.enter(je()),this.prodParam.enter(0),e.value=this.eat(c.eq)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,r,n=139){this.match(c.name)?(e.id=this.parseIdentifier(),t&&this.checkLVal(e.id,\\\"class name\\\",n)):r||!t?e.id=null:this.unexpected(null,E.MissingClassName)}parseClassSuper(e){e.superClass=this.eat(c._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e),r=!t||this.eat(c.comma),n=r&&this.eatExportStar(e),i=n&&this.maybeParseExportNamespaceSpecifier(e),s=r&&(!i||this.eat(c.comma)),a=t||n;if(n&&!i)return t&&this.unexpected(),this.parseExportFrom(e,!0),this.finishNode(e,\\\"ExportAllDeclaration\\\");const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||i&&s&&!o)throw this.unexpected(null,c.braceL);let l;if(a||o?(l=!1,this.parseExportFrom(e,a)):l=this.maybeParseExportDeclaration(e),a||o||l)return this.checkExport(e,!0,!1,!!e.source),this.finishNode(e,\\\"ExportNamedDeclaration\\\");if(this.eat(c._default))return e.declaration=this.parseExportDefaultExpression(),this.checkExport(e,!0,!0),this.finishNode(e,\\\"ExportDefaultDeclaration\\\");throw this.unexpected(null,c.braceL)}eatExportStar(e){return this.eat(c.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin(\\\"exportDefaultFrom\\\");const t=this.startNode();return t.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(t,\\\"ExportDefaultSpecifier\\\")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(\\\"as\\\")){e.specifiers||(e.specifiers=[]);const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,\\\"ExportNamespaceSpecifier\\\")),!0}return!1}maybeParseExportNamedSpecifiers(e){return!!this.match(c.braceL)&&(e.specifiers||(e.specifiers=[]),e.specifiers.push(...this.parseExportSpecifiers()),e.source=null,e.declaration=null,!0)}maybeParseExportDeclaration(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,e.declaration=this.parseExportDeclaration(e),!0)}isAsyncFunction(){if(!this.isContextual(\\\"async\\\"))return!1;const e=this.nextTokenStart();return!u.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,\\\"function\\\")}parseExportDefaultExpression(){const e=this.startNode(),t=this.isAsyncFunction();if(this.match(c._function)||t)return this.next(),t&&this.next(),this.parseFunction(e,5,t);if(this.match(c._class))return this.parseClass(e,!0,!0);if(this.match(c.at))return this.hasPlugin(\\\"decorators\\\")&&this.getPluginOption(\\\"decorators\\\",\\\"decoratorsBeforeExport\\\")&&this.raise(this.state.start,E.DecoratorBeforeExport),this.parseDecorators(!1),this.parseClass(e,!0,!0);if(this.match(c._const)||this.match(c._var)||this.isLet())throw this.raise(this.state.start,E.UnsupportedDefaultExport);{const e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(c.name)){const e=this.state.value;if(\\\"async\\\"===e&&!this.state.containsEsc||\\\"let\\\"===e)return!1;if((\\\"type\\\"===e||\\\"interface\\\"===e)&&!this.state.containsEsc){const e=this.lookahead();if(e.type===c.name&&\\\"from\\\"!==e.value||e.type===c.braceL)return this.expectOnePlugin([\\\"flow\\\",\\\"typescript\\\"]),!1}}else if(!this.match(c._default))return!1;const e=this.nextTokenStart(),t=this.isUnparsedContextual(e,\\\"from\\\");if(44===this.input.charCodeAt(e)||this.match(c.name)&&t)return!0;if(this.match(c._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return 34===t||39===t}return!1}parseExportFrom(e,t){if(this.eatContextual(\\\"from\\\")){e.source=this.parseImportSource(),this.checkExport(e);const t=this.maybeParseImportAssertions();t&&(e.assertions=t)}else t?this.unexpected():e.source=null;this.semicolon()}shouldParseExportDeclaration(){if(this.match(c.at)&&(this.expectOnePlugin([\\\"decorators\\\",\\\"decorators-legacy\\\"]),this.hasPlugin(\\\"decorators\\\"))){if(!this.getPluginOption(\\\"decorators\\\",\\\"decoratorsBeforeExport\\\"))return!0;this.unexpected(this.state.start,E.DecoratorBeforeExport)}return\\\"var\\\"===this.state.type.keyword||\\\"const\\\"===this.state.type.keyword||\\\"function\\\"===this.state.type.keyword||\\\"class\\\"===this.state.type.keyword||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t)if(r){if(this.checkDuplicateExports(e,\\\"default\\\"),this.hasPlugin(\\\"exportDefaultFrom\\\")){var i;const t=e.declaration;\\\"Identifier\\\"!==t.type||\\\"from\\\"!==t.name||t.end-t.start!=4||null!=(i=t.extra)&&i.parenthesized||this.raise(t.start,E.ExportDefaultFromAsIdentifier)}}else if(e.specifiers&&e.specifiers.length)for(const t of e.specifiers){const{exported:e}=t,r=\\\"Identifier\\\"===e.type?e.name:e.value;if(this.checkDuplicateExports(t,r),!n&&t.local){const{local:e}=t;\\\"StringLiteral\\\"===e.type?this.raise(t.start,E.ExportBindingIsString,e.value,r):(this.checkReservedWord(e.name,e.start,!0,!1),this.scope.checkLocalExport(e))}}else if(e.declaration)if(\\\"FunctionDeclaration\\\"===e.declaration.type||\\\"ClassDeclaration\\\"===e.declaration.type){const t=e.declaration.id;if(!t)throw new Error(\\\"Assertion failure\\\");this.checkDuplicateExports(e,t.name)}else if(\\\"VariableDeclaration\\\"===e.declaration.type)for(const t of e.declaration.declarations)this.checkDeclaration(t.id);if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(e.start,E.UnsupportedDecoratorExport)}checkDeclaration(e){if(\\\"Identifier\\\"===e.type)this.checkDuplicateExports(e,e.name);else if(\\\"ObjectPattern\\\"===e.type)for(const t of e.properties)this.checkDeclaration(t);else if(\\\"ArrayPattern\\\"===e.type)for(const t of e.elements)t&&this.checkDeclaration(t);else\\\"ObjectProperty\\\"===e.type?this.checkDeclaration(e.value):\\\"RestElement\\\"===e.type?this.checkDeclaration(e.argument):\\\"AssignmentPattern\\\"===e.type&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.state.exportedIdentifiers.indexOf(t)>-1&&this.raise(e.start,\\\"default\\\"===t?E.DuplicateDefaultExport:E.DuplicateExport,t),this.state.exportedIdentifiers.push(t)}parseExportSpecifiers(){const e=[];let t=!0;for(this.expect(c.braceL);!this.eat(c.braceR);){if(t)t=!1;else if(this.expect(c.comma),this.eat(c.braceR))break;const r=this.startNode();r.local=this.parseModuleExportName(),r.exported=this.eatContextual(\\\"as\\\")?this.parseModuleExportName():r.local.__clone(),e.push(this.finishNode(r,\\\"ExportSpecifier\\\"))}return e}parseModuleExportName(){if(this.match(c.string)){const e=this.parseLiteral(this.state.value,\\\"StringLiteral\\\"),t=e.value.match(Xe);return t&&this.raise(e.start,E.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16)),e}return this.parseIdentifier(!0)}parseImport(e){if(e.specifiers=[],!this.match(c.string)){const t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(c.comma),r=t&&this.maybeParseStarImportSpecifier(e);t&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(\\\"from\\\")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{const t=this.maybeParseModuleAttributes();t&&(e.attributes=t)}return this.semicolon(),this.finishNode(e,\\\"ImportDeclaration\\\")}parseImportSource(){return this.match(c.string)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(c.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier(),this.checkLVal(t.local,n,9),e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[],t=new Set;do{if(this.match(c.braceR))break;const r=this.startNode(),n=this.state.value;if(this.match(c.string)?r.key=this.parseLiteral(n,\\\"StringLiteral\\\"):r.key=this.parseIdentifier(!0),this.expect(c.colon),\\\"type\\\"!==n&&this.raise(r.key.start,E.ModuleAttributeDifferentFromType,n),t.has(n)&&this.raise(r.key.start,E.ModuleAttributesWithDuplicateKeys,n),t.add(n),!this.match(c.string))throw this.unexpected(this.state.start,E.ModuleAttributeInvalidValue);r.value=this.parseLiteral(this.state.value,\\\"StringLiteral\\\"),this.finishNode(r,\\\"ImportAttribute\\\"),e.push(r)}while(this.eat(c.comma));return e}maybeParseModuleAttributes(){if(!this.match(c._with)||this.hasPrecedingLineBreak())return this.hasPlugin(\\\"moduleAttributes\\\")?[]:null;this.expectPlugin(\\\"moduleAttributes\\\"),this.next();const e=[],t=new Set;do{const r=this.startNode();if(r.key=this.parseIdentifier(!0),\\\"type\\\"!==r.key.name&&this.raise(r.key.start,E.ModuleAttributeDifferentFromType,r.key.name),t.has(r.key.name)&&this.raise(r.key.start,E.ModuleAttributesWithDuplicateKeys,r.key.name),t.add(r.key.name),this.expect(c.colon),!this.match(c.string))throw this.unexpected(this.state.start,E.ModuleAttributeInvalidValue);r.value=this.parseLiteral(this.state.value,\\\"StringLiteral\\\"),this.finishNode(r,\\\"ImportAttribute\\\"),e.push(r)}while(this.eat(c.comma));return e}maybeParseImportAssertions(){if(!this.isContextual(\\\"assert\\\")||this.hasPrecedingLineBreak())return this.hasPlugin(\\\"importAssertions\\\")?[]:null;this.expectPlugin(\\\"importAssertions\\\"),this.next(),this.eat(c.braceL);const e=this.parseAssertEntries();return this.eat(c.braceR),e}maybeParseDefaultImportSpecifier(e){return!!this.shouldParseDefaultImport(e)&&(this.parseImportSpecifierLocal(e,this.startNode(),\\\"ImportDefaultSpecifier\\\",\\\"default import specifier\\\"),!0)}maybeParseStarImportSpecifier(e){if(this.match(c.star)){const t=this.startNode();return this.next(),this.expectContextual(\\\"as\\\"),this.parseImportSpecifierLocal(e,t,\\\"ImportNamespaceSpecifier\\\",\\\"import namespace specifier\\\"),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(c.braceL);!this.eat(c.braceR);){if(t)t=!1;else{if(this.eat(c.colon))throw this.raise(this.state.start,E.DestructureNamedImport);if(this.expect(c.comma),this.eat(c.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();if(t.imported=this.parseModuleExportName(),this.eatContextual(\\\"as\\\"))t.local=this.parseIdentifier();else{const{imported:e}=t;if(\\\"StringLiteral\\\"===e.type)throw this.raise(t.start,E.ImportBindingIsString,e.value);this.checkReservedWord(e.name,t.start,!0,!0),t.local=e.__clone()}this.checkLVal(t.local,\\\"import specifier\\\",9),e.specifiers.push(this.finishNode(t,\\\"ImportSpecifier\\\"))}isThisParam(e){return\\\"Identifier\\\"===e.type&&\\\"this\\\"===e.name}}class He extends Je{constructor(e,t){super(e=function(e){const t={};for(const r of Object.keys(Pe))t[r]=e&&null!=e[r]?e[r]:Pe[r];return t}(e),t),this.options=e,this.initializeScopes(),this.plugins=function(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];t.has(e)||t.set(e,n||{})}return t}(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return J}parse(){this.enterInitialScopes();const e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}}function Ge(e,t){let r=He;return null!=e&&e.plugins&&(function(e){if(Te(e,\\\"decorators\\\")){if(Te(e,\\\"decorators-legacy\\\"))throw new Error(\\\"Cannot use the decorators and decorators-legacy plugin together\\\");const t=be(e,\\\"decorators\\\",\\\"decoratorsBeforeExport\\\");if(null==t)throw new Error(\\\"The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.\\\");if(\\\"boolean\\\"!=typeof t)throw new Error(\\\"'decoratorsBeforeExport' must be a boolean.\\\")}if(Te(e,\\\"flow\\\")&&Te(e,\\\"typescript\\\"))throw new Error(\\\"Cannot combine flow and typescript plugins.\\\");if(Te(e,\\\"placeholders\\\")&&Te(e,\\\"v8intrinsic\\\"))throw new Error(\\\"Cannot combine placeholders and v8intrinsic plugins.\\\");if(Te(e,\\\"pipelineOperator\\\")&&!ge.includes(be(e,\\\"pipelineOperator\\\",\\\"proposal\\\")))throw new Error(\\\"'pipelineOperator' requires 'proposal' option whose value should be one of: \\\"+ge.map((e=>`'${e}'`)).join(\\\", \\\"));if(Te(e,\\\"moduleAttributes\\\")){if(Te(e,\\\"importAssertions\\\"))throw new Error(\\\"Cannot combine importAssertions and moduleAttributes plugins.\\\");if(\\\"may-2020\\\"!==be(e,\\\"moduleAttributes\\\",\\\"version\\\"))throw new Error(\\\"The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.\\\")}if(Te(e,\\\"recordAndTuple\\\")&&!Se.includes(be(e,\\\"recordAndTuple\\\",\\\"syntaxType\\\")))throw new Error(\\\"'recordAndTuple' requires 'syntaxType' option whose value should be one of: \\\"+Se.map((e=>`'${e}'`)).join(\\\", \\\"));if(Te(e,\\\"asyncDoExpressions\\\")&&!Te(e,\\\"doExpressions\\\")){const e=new Error(\\\"'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.\\\");throw e.missingPlugins=\\\"doExpressions\\\",e}}(e.plugins),r=function(e){const t=Ee.filter((t=>Te(e,t))),r=t.join(\\\"/\\\");let n=ze[r];if(!n){n=He;for(const e of t)n=xe[e](n);ze[r]=n}return n}(e.plugins)),new r(e,t)}const ze={};t.parse=function(e,t){var r;if(\\\"unambiguous\\\"!==(null==(r=t)?void 0:r.sourceType))return Ge(t,e).parse();t=Object.assign({},t);try{t.sourceType=\\\"module\\\";const r=Ge(t,e),n=r.parse();if(r.sawUnambiguousESM)return n;if(r.ambiguousScriptDifferentAst)try{return t.sourceType=\\\"script\\\",Ge(t,e).parse()}catch(e){}else n.program.sourceType=\\\"script\\\";return n}catch(r){try{return t.sourceType=\\\"script\\\",Ge(t,e).parse()}catch(e){}throw r}},t.parseExpression=function(e,t){const r=Ge(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()},t.tokTypes=c},1619:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function e(t,r){const a=new WeakMap,p=new WeakMap,c=r||(0,n.validate)(null);return Object.assign(((r,...o)=>{if(\\\"string\\\"==typeof r){if(o.length>1)throw new Error(\\\"Unexpected extra params.\\\");return l((0,i.default)(t,r,(0,n.merge)(c,(0,n.validate)(o[0]))))}if(Array.isArray(r)){let e=a.get(r);return e||(e=(0,s.default)(t,r,c),a.set(r,e)),l(e(o))}if(\\\"object\\\"==typeof r&&r){if(o.length>0)throw new Error(\\\"Unexpected extra params.\\\");return e(t,(0,n.merge)(c,(0,n.validate)(r)))}throw new Error(\\\"Unexpected template param \\\"+typeof r)}),{ast:(e,...r)=>{if(\\\"string\\\"==typeof e){if(r.length>1)throw new Error(\\\"Unexpected extra params.\\\");return(0,i.default)(t,e,(0,n.merge)((0,n.merge)(c,(0,n.validate)(r[0])),o))()}if(Array.isArray(e)){let i=p.get(e);return i||(i=(0,s.default)(t,e,(0,n.merge)(c,o)),p.set(e,i)),i(r)()}throw new Error(\\\"Unexpected template param \\\"+typeof e)}})};var n=r(2123),i=a(r(3046)),s=a(r(3004));function a(e){return e&&e.__esModule?e:{default:e}}const o=(0,n.validate)({placeholderPattern:!1});function l(e){let t=\\\"\\\";try{throw new Error}catch(e){e.stack&&(t=e.stack.split(\\\"\\\\n\\\").slice(3).join(\\\"\\\\n\\\"))}return r=>{try{return e(r)}catch(e){throw e.stack+=`\\\\n =============\\\\n${t}`,e}}}},8913:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.program=t.expression=t.statement=t.statements=t.smart=void 0;var n=function(e){if(e&&e.__esModule)return e;if(null===e||\\\"object\\\"!=typeof e&&\\\"function\\\"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var a=n?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(r,s,a):r[s]=e[s]}return r.default=e,t&&t.set(e,r),r}(r(17));function i(){if(\\\"function\\\"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function s(e){return{code:e=>`/* @babel/template */;\\\\n${e}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}const a=s((e=>e.length>1?e:e[0]));t.smart=a;const o=s((e=>e));t.statements=o;const l=s((e=>{if(0===e.length)throw new Error(\\\"Found nothing to return.\\\");if(e.length>1)throw new Error(\\\"Found multiple statements but wanted one\\\");return e[0]}));t.statement=l;const p={code:e=>`(\\\\n${e}\\\\n)`,validate:e=>{if(e.program.body.length>1)throw new Error(\\\"Found multiple statements but wanted one\\\");if(0===p.unwrap(e).start)throw new Error(\\\"Parse result included parens.\\\")},unwrap:({program:e})=>{const[t]=e.body;return n.assertExpressionStatement(t),t.expression}};t.expression=p,t.program={code:e=>e,validate:()=>{},unwrap:e=>e.program}},6205:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=t.program=t.expression=t.statements=t.statement=t.smart=void 0;var n,i=function(e){if(e&&e.__esModule)return e;if(null===e||\\\"object\\\"!=typeof e&&\\\"function\\\"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=n?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(r(8913)),s=(n=r(1619))&&n.__esModule?n:{default:n};function a(){if(\\\"function\\\"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}const o=(0,s.default)(i.smart);t.smart=o;const l=(0,s.default)(i.statement);t.statement=l;const p=(0,s.default)(i.statements);t.statements=p;const c=(0,s.default)(i.expression);t.expression=c;const u=(0,s.default)(i.program);t.program=u;var d=Object.assign(o.bind(void 0),{smart:o,statement:l,statements:p,expression:c,program:u,ast:o.ast});t.default=d},3004:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t,r){const{metadata:a,names:l}=function(e,t,r){let n,s,a,l=\\\"\\\";do{l+=\\\"$\\\";const p=o(t,l);n=p.names,s=new Set(n),a=(0,i.default)(e,e.code(p.code),{parser:r.parser,placeholderWhitelist:new Set(p.names.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders})}while(a.placeholders.some((e=>e.isDuplicate&&s.has(e.name))));return{metadata:a,names:n}}(e,t,r);return t=>{const r={};return t.forEach(((e,t)=>{r[l[t]]=e})),t=>{const i=(0,n.normalizeReplacements)(t);return i&&Object.keys(i).forEach((e=>{if(Object.prototype.hasOwnProperty.call(r,e))throw new Error(\\\"Unexpected replacement overlap.\\\")})),e.unwrap((0,s.default)(a,i?Object.assign(i,r):r))}}};var n=r(2123),i=a(r(5008)),s=a(r(5985));function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){const r=[];let n=e[0];for(let i=1;i{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.merge=function(e,t){const{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:n=e.placeholderPattern,preserveComments:i=e.preserveComments,syntacticPlaceholders:s=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:i,syntacticPlaceholders:s}},t.validate=function(e){if(null!=e&&\\\"object\\\"!=typeof e)throw new Error(\\\"Unknown template options.\\\");const t=e||{},{placeholderWhitelist:r,placeholderPattern:n,preserveComments:i,syntacticPlaceholders:s}=t,a=function(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n=0||(i[r]=e[r]);return i}(t,[\\\"placeholderWhitelist\\\",\\\"placeholderPattern\\\",\\\"preserveComments\\\",\\\"syntacticPlaceholders\\\"]);if(null!=r&&!(r instanceof Set))throw new Error(\\\"'.placeholderWhitelist' must be a Set, null, or undefined\\\");if(null!=n&&!(n instanceof RegExp)&&!1!==n)throw new Error(\\\"'.placeholderPattern' must be a RegExp, false, null, or undefined\\\");if(null!=i&&\\\"boolean\\\"!=typeof i)throw new Error(\\\"'.preserveComments' must be a boolean, null, or undefined\\\");if(null!=s&&\\\"boolean\\\"!=typeof s)throw new Error(\\\"'.syntacticPlaceholders' must be a boolean, null, or undefined\\\");if(!0===s&&(null!=r||null!=n))throw new Error(\\\"'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'\\\");return{parser:a,placeholderWhitelist:r||void 0,placeholderPattern:null==n?void 0:n,preserveComments:null==i?void 0:i,syntacticPlaceholders:null==s?void 0:s}},t.normalizeReplacements=function(e){if(Array.isArray(e))return e.reduce(((e,t,r)=>(e[\\\"$\\\"+r]=t,e)),{});if(\\\"object\\\"==typeof e||null==e)return e||void 0;throw new Error(\\\"Template replacements must be an array, object, null, or undefined\\\")}},5008:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t,r){const{placeholderWhitelist:a,placeholderPattern:o,preserveComments:p,syntacticPlaceholders:c}=r,u=function(e,t,r){const n=(t.plugins||[]).slice();!1!==r&&n.push(\\\"placeholders\\\"),t=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:\\\"module\\\"},t,{plugins:n});try{return(0,i.parse)(e,t)}catch(t){const r=t.loc;throw r&&(t.message+=\\\"\\\\n\\\"+(0,s.codeFrameColumns)(e,{start:r}),t.code=\\\"BABEL_TEMPLATE_PARSE_ERROR\\\"),t}}(t,r.parser,c);n.removePropertiesDeep(u,{preserveComments:p}),e.validate(u);const d={placeholders:[],placeholderNames:new Set},h={placeholders:[],placeholderNames:new Set},f={value:void 0};return n.traverse(u,l,{syntactic:d,legacy:h,isLegacyRef:f,placeholderWhitelist:a,placeholderPattern:o,syntacticPlaceholders:c}),Object.assign({ast:u},f.value?h:d)};var n=function(e){if(e&&e.__esModule)return e;if(null===e||\\\"object\\\"!=typeof e&&\\\"function\\\"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=n?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(r(17)),i=r(4494),s=r(785);function a(){if(\\\"function\\\"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}const o=/^[_$A-Z0-9]+$/;function l(e,t,r){var i;let s;if(n.isPlaceholder(e)){if(!1===r.syntacticPlaceholders)throw new Error(\\\"%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.\\\");s=e.name.name,r.isLegacyRef.value=!1}else{if(!1===r.isLegacyRef.value||r.syntacticPlaceholders)return;if(n.isIdentifier(e)||n.isJSXIdentifier(e))s=e.name,r.isLegacyRef.value=!0;else{if(!n.isStringLiteral(e))return;s=e.value,r.isLegacyRef.value=!0}}if(!r.isLegacyRef.value&&(null!=r.placeholderPattern||null!=r.placeholderWhitelist))throw new Error(\\\"'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'\\\");if(r.isLegacyRef.value&&(!1===r.placeholderPattern||!(r.placeholderPattern||o).test(s))&&!(null==(i=r.placeholderWhitelist)?void 0:i.has(s)))return;t=t.slice();const{node:a,key:l}=t[t.length-1];let p;n.isStringLiteral(e)||n.isPlaceholder(e,{expectedNode:\\\"StringLiteral\\\"})?p=\\\"string\\\":n.isNewExpression(a)&&\\\"arguments\\\"===l||n.isCallExpression(a)&&\\\"arguments\\\"===l||n.isFunction(a)&&\\\"params\\\"===l?p=\\\"param\\\":n.isExpressionStatement(a)&&!n.isPlaceholder(e)?(p=\\\"statement\\\",t=t.slice(0,-1)):p=n.isStatement(e)&&n.isPlaceholder(e)?\\\"statement\\\":\\\"other\\\";const{placeholders:c,placeholderNames:u}=r.isLegacyRef.value?r.legacy:r.syntactic;c.push({name:s,type:p,resolve:e=>function(e,t){let r=e;for(let e=0;e{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t){const r=n.cloneNode(e.ast);return t&&(e.placeholders.forEach((e=>{if(!Object.prototype.hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for \\\"${t}\\\". If this is not meant to be a\\\\n placeholder you may want to consider passing one of the following options to @babel/template:\\\\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}\\\\n - { placeholderPattern: /^${t}$/ }`)}})),Object.keys(t).forEach((t=>{if(!e.placeholderNames.has(t))throw new Error(`Unknown substitution \\\"${t}\\\" given`)}))),e.placeholders.slice().reverse().forEach((e=>{try{!function(e,t,r){e.isDuplicate&&(Array.isArray(r)?r=r.map((e=>n.cloneNode(e))):\\\"object\\\"==typeof r&&(r=n.cloneNode(r)));const{parent:i,key:s,index:a}=e.resolve(t);if(\\\"string\\\"===e.type){if(\\\"string\\\"==typeof r&&(r=n.stringLiteral(r)),!r||!n.isStringLiteral(r))throw new Error(\\\"Expected string substitution\\\")}else if(\\\"statement\\\"===e.type)void 0===a?r?Array.isArray(r)?r=n.blockStatement(r):\\\"string\\\"==typeof r?r=n.expressionStatement(n.identifier(r)):n.isStatement(r)||(r=n.expressionStatement(r)):r=n.emptyStatement():r&&!Array.isArray(r)&&(\\\"string\\\"==typeof r&&(r=n.identifier(r)),n.isStatement(r)||(r=n.expressionStatement(r)));else if(\\\"param\\\"===e.type){if(\\\"string\\\"==typeof r&&(r=n.identifier(r)),void 0===a)throw new Error(\\\"Assertion failure.\\\")}else if(\\\"string\\\"==typeof r&&(r=n.identifier(r)),Array.isArray(r))throw new Error(\\\"Cannot replace single expression with an array.\\\");if(void 0===a)n.validate(i,s,r),i[s]=r;else{const t=i[s].slice();\\\"statement\\\"===e.type||\\\"param\\\"===e.type?null==r?t.splice(a,1):Array.isArray(r)?t.splice(a,1,...r):t[a]=r:t[a]=r,n.validate(i,s,t),i[s]=t}}(e,r,t&&t[e.name]||null)}catch(t){throw t.message=`@babel/template placeholder \\\"${e.name}\\\": ${t.message}`,t}})),r};var n=function(e){if(e&&e.__esModule)return e;if(null===e||\\\"object\\\"!=typeof e&&\\\"function\\\"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var a=n?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(r,s,a):r[s]=e[s]}return r.default=e,t&&t.set(e,r),r}(r(17));function i(){if(\\\"function\\\"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}},3046:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t,r){let a;return t=e.code(t),o=>{const l=(0,n.normalizeReplacements)(o);return a||(a=(0,i.default)(e,t,r)),e.unwrap((0,s.default)(a,l))}};var n=r(2123),i=a(r(5008)),s=a(r(5985));function a(e){return e&&e.__esModule?e:{default:e}}},9278:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){if(!(0,n.default)(e)){var t;const r=null!=(t=null==e?void 0:e.type)?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type \\\"${r}\\\"`)}};var n=r(1860)},2937:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.assertArrayExpression=function(e,t){i(\\\"ArrayExpression\\\",e,t)},t.assertAssignmentExpression=function(e,t){i(\\\"AssignmentExpression\\\",e,t)},t.assertBinaryExpression=function(e,t){i(\\\"BinaryExpression\\\",e,t)},t.assertInterpreterDirective=function(e,t){i(\\\"InterpreterDirective\\\",e,t)},t.assertDirective=function(e,t){i(\\\"Directive\\\",e,t)},t.assertDirectiveLiteral=function(e,t){i(\\\"DirectiveLiteral\\\",e,t)},t.assertBlockStatement=function(e,t){i(\\\"BlockStatement\\\",e,t)},t.assertBreakStatement=function(e,t){i(\\\"BreakStatement\\\",e,t)},t.assertCallExpression=function(e,t){i(\\\"CallExpression\\\",e,t)},t.assertCatchClause=function(e,t){i(\\\"CatchClause\\\",e,t)},t.assertConditionalExpression=function(e,t){i(\\\"ConditionalExpression\\\",e,t)},t.assertContinueStatement=function(e,t){i(\\\"ContinueStatement\\\",e,t)},t.assertDebuggerStatement=function(e,t){i(\\\"DebuggerStatement\\\",e,t)},t.assertDoWhileStatement=function(e,t){i(\\\"DoWhileStatement\\\",e,t)},t.assertEmptyStatement=function(e,t){i(\\\"EmptyStatement\\\",e,t)},t.assertExpressionStatement=function(e,t){i(\\\"ExpressionStatement\\\",e,t)},t.assertFile=function(e,t){i(\\\"File\\\",e,t)},t.assertForInStatement=function(e,t){i(\\\"ForInStatement\\\",e,t)},t.assertForStatement=function(e,t){i(\\\"ForStatement\\\",e,t)},t.assertFunctionDeclaration=function(e,t){i(\\\"FunctionDeclaration\\\",e,t)},t.assertFunctionExpression=function(e,t){i(\\\"FunctionExpression\\\",e,t)},t.assertIdentifier=function(e,t){i(\\\"Identifier\\\",e,t)},t.assertIfStatement=function(e,t){i(\\\"IfStatement\\\",e,t)},t.assertLabeledStatement=function(e,t){i(\\\"LabeledStatement\\\",e,t)},t.assertStringLiteral=function(e,t){i(\\\"StringLiteral\\\",e,t)},t.assertNumericLiteral=function(e,t){i(\\\"NumericLiteral\\\",e,t)},t.assertNullLiteral=function(e,t){i(\\\"NullLiteral\\\",e,t)},t.assertBooleanLiteral=function(e,t){i(\\\"BooleanLiteral\\\",e,t)},t.assertRegExpLiteral=function(e,t){i(\\\"RegExpLiteral\\\",e,t)},t.assertLogicalExpression=function(e,t){i(\\\"LogicalExpression\\\",e,t)},t.assertMemberExpression=function(e,t){i(\\\"MemberExpression\\\",e,t)},t.assertNewExpression=function(e,t){i(\\\"NewExpression\\\",e,t)},t.assertProgram=function(e,t){i(\\\"Program\\\",e,t)},t.assertObjectExpression=function(e,t){i(\\\"ObjectExpression\\\",e,t)},t.assertObjectMethod=function(e,t){i(\\\"ObjectMethod\\\",e,t)},t.assertObjectProperty=function(e,t){i(\\\"ObjectProperty\\\",e,t)},t.assertRestElement=function(e,t){i(\\\"RestElement\\\",e,t)},t.assertReturnStatement=function(e,t){i(\\\"ReturnStatement\\\",e,t)},t.assertSequenceExpression=function(e,t){i(\\\"SequenceExpression\\\",e,t)},t.assertParenthesizedExpression=function(e,t){i(\\\"ParenthesizedExpression\\\",e,t)},t.assertSwitchCase=function(e,t){i(\\\"SwitchCase\\\",e,t)},t.assertSwitchStatement=function(e,t){i(\\\"SwitchStatement\\\",e,t)},t.assertThisExpression=function(e,t){i(\\\"ThisExpression\\\",e,t)},t.assertThrowStatement=function(e,t){i(\\\"ThrowStatement\\\",e,t)},t.assertTryStatement=function(e,t){i(\\\"TryStatement\\\",e,t)},t.assertUnaryExpression=function(e,t){i(\\\"UnaryExpression\\\",e,t)},t.assertUpdateExpression=function(e,t){i(\\\"UpdateExpression\\\",e,t)},t.assertVariableDeclaration=function(e,t){i(\\\"VariableDeclaration\\\",e,t)},t.assertVariableDeclarator=function(e,t){i(\\\"VariableDeclarator\\\",e,t)},t.assertWhileStatement=function(e,t){i(\\\"WhileStatement\\\",e,t)},t.assertWithStatement=function(e,t){i(\\\"WithStatement\\\",e,t)},t.assertAssignmentPattern=function(e,t){i(\\\"AssignmentPattern\\\",e,t)},t.assertArrayPattern=function(e,t){i(\\\"ArrayPattern\\\",e,t)},t.assertArrowFunctionExpression=function(e,t){i(\\\"ArrowFunctionExpression\\\",e,t)},t.assertClassBody=function(e,t){i(\\\"ClassBody\\\",e,t)},t.assertClassExpression=function(e,t){i(\\\"ClassExpression\\\",e,t)},t.assertClassDeclaration=function(e,t){i(\\\"ClassDeclaration\\\",e,t)},t.assertExportAllDeclaration=function(e,t){i(\\\"ExportAllDeclaration\\\",e,t)},t.assertExportDefaultDeclaration=function(e,t){i(\\\"ExportDefaultDeclaration\\\",e,t)},t.assertExportNamedDeclaration=function(e,t){i(\\\"ExportNamedDeclaration\\\",e,t)},t.assertExportSpecifier=function(e,t){i(\\\"ExportSpecifier\\\",e,t)},t.assertForOfStatement=function(e,t){i(\\\"ForOfStatement\\\",e,t)},t.assertImportDeclaration=function(e,t){i(\\\"ImportDeclaration\\\",e,t)},t.assertImportDefaultSpecifier=function(e,t){i(\\\"ImportDefaultSpecifier\\\",e,t)},t.assertImportNamespaceSpecifier=function(e,t){i(\\\"ImportNamespaceSpecifier\\\",e,t)},t.assertImportSpecifier=function(e,t){i(\\\"ImportSpecifier\\\",e,t)},t.assertMetaProperty=function(e,t){i(\\\"MetaProperty\\\",e,t)},t.assertClassMethod=function(e,t){i(\\\"ClassMethod\\\",e,t)},t.assertObjectPattern=function(e,t){i(\\\"ObjectPattern\\\",e,t)},t.assertSpreadElement=function(e,t){i(\\\"SpreadElement\\\",e,t)},t.assertSuper=function(e,t){i(\\\"Super\\\",e,t)},t.assertTaggedTemplateExpression=function(e,t){i(\\\"TaggedTemplateExpression\\\",e,t)},t.assertTemplateElement=function(e,t){i(\\\"TemplateElement\\\",e,t)},t.assertTemplateLiteral=function(e,t){i(\\\"TemplateLiteral\\\",e,t)},t.assertYieldExpression=function(e,t){i(\\\"YieldExpression\\\",e,t)},t.assertAwaitExpression=function(e,t){i(\\\"AwaitExpression\\\",e,t)},t.assertImport=function(e,t){i(\\\"Import\\\",e,t)},t.assertBigIntLiteral=function(e,t){i(\\\"BigIntLiteral\\\",e,t)},t.assertExportNamespaceSpecifier=function(e,t){i(\\\"ExportNamespaceSpecifier\\\",e,t)},t.assertOptionalMemberExpression=function(e,t){i(\\\"OptionalMemberExpression\\\",e,t)},t.assertOptionalCallExpression=function(e,t){i(\\\"OptionalCallExpression\\\",e,t)},t.assertAnyTypeAnnotation=function(e,t){i(\\\"AnyTypeAnnotation\\\",e,t)},t.assertArrayTypeAnnotation=function(e,t){i(\\\"ArrayTypeAnnotation\\\",e,t)},t.assertBooleanTypeAnnotation=function(e,t){i(\\\"BooleanTypeAnnotation\\\",e,t)},t.assertBooleanLiteralTypeAnnotation=function(e,t){i(\\\"BooleanLiteralTypeAnnotation\\\",e,t)},t.assertNullLiteralTypeAnnotation=function(e,t){i(\\\"NullLiteralTypeAnnotation\\\",e,t)},t.assertClassImplements=function(e,t){i(\\\"ClassImplements\\\",e,t)},t.assertDeclareClass=function(e,t){i(\\\"DeclareClass\\\",e,t)},t.assertDeclareFunction=function(e,t){i(\\\"DeclareFunction\\\",e,t)},t.assertDeclareInterface=function(e,t){i(\\\"DeclareInterface\\\",e,t)},t.assertDeclareModule=function(e,t){i(\\\"DeclareModule\\\",e,t)},t.assertDeclareModuleExports=function(e,t){i(\\\"DeclareModuleExports\\\",e,t)},t.assertDeclareTypeAlias=function(e,t){i(\\\"DeclareTypeAlias\\\",e,t)},t.assertDeclareOpaqueType=function(e,t){i(\\\"DeclareOpaqueType\\\",e,t)},t.assertDeclareVariable=function(e,t){i(\\\"DeclareVariable\\\",e,t)},t.assertDeclareExportDeclaration=function(e,t){i(\\\"DeclareExportDeclaration\\\",e,t)},t.assertDeclareExportAllDeclaration=function(e,t){i(\\\"DeclareExportAllDeclaration\\\",e,t)},t.assertDeclaredPredicate=function(e,t){i(\\\"DeclaredPredicate\\\",e,t)},t.assertExistsTypeAnnotation=function(e,t){i(\\\"ExistsTypeAnnotation\\\",e,t)},t.assertFunctionTypeAnnotation=function(e,t){i(\\\"FunctionTypeAnnotation\\\",e,t)},t.assertFunctionTypeParam=function(e,t){i(\\\"FunctionTypeParam\\\",e,t)},t.assertGenericTypeAnnotation=function(e,t){i(\\\"GenericTypeAnnotation\\\",e,t)},t.assertInferredPredicate=function(e,t){i(\\\"InferredPredicate\\\",e,t)},t.assertInterfaceExtends=function(e,t){i(\\\"InterfaceExtends\\\",e,t)},t.assertInterfaceDeclaration=function(e,t){i(\\\"InterfaceDeclaration\\\",e,t)},t.assertInterfaceTypeAnnotation=function(e,t){i(\\\"InterfaceTypeAnnotation\\\",e,t)},t.assertIntersectionTypeAnnotation=function(e,t){i(\\\"IntersectionTypeAnnotation\\\",e,t)},t.assertMixedTypeAnnotation=function(e,t){i(\\\"MixedTypeAnnotation\\\",e,t)},t.assertEmptyTypeAnnotation=function(e,t){i(\\\"EmptyTypeAnnotation\\\",e,t)},t.assertNullableTypeAnnotation=function(e,t){i(\\\"NullableTypeAnnotation\\\",e,t)},t.assertNumberLiteralTypeAnnotation=function(e,t){i(\\\"NumberLiteralTypeAnnotation\\\",e,t)},t.assertNumberTypeAnnotation=function(e,t){i(\\\"NumberTypeAnnotation\\\",e,t)},t.assertObjectTypeAnnotation=function(e,t){i(\\\"ObjectTypeAnnotation\\\",e,t)},t.assertObjectTypeInternalSlot=function(e,t){i(\\\"ObjectTypeInternalSlot\\\",e,t)},t.assertObjectTypeCallProperty=function(e,t){i(\\\"ObjectTypeCallProperty\\\",e,t)},t.assertObjectTypeIndexer=function(e,t){i(\\\"ObjectTypeIndexer\\\",e,t)},t.assertObjectTypeProperty=function(e,t){i(\\\"ObjectTypeProperty\\\",e,t)},t.assertObjectTypeSpreadProperty=function(e,t){i(\\\"ObjectTypeSpreadProperty\\\",e,t)},t.assertOpaqueType=function(e,t){i(\\\"OpaqueType\\\",e,t)},t.assertQualifiedTypeIdentifier=function(e,t){i(\\\"QualifiedTypeIdentifier\\\",e,t)},t.assertStringLiteralTypeAnnotation=function(e,t){i(\\\"StringLiteralTypeAnnotation\\\",e,t)},t.assertStringTypeAnnotation=function(e,t){i(\\\"StringTypeAnnotation\\\",e,t)},t.assertSymbolTypeAnnotation=function(e,t){i(\\\"SymbolTypeAnnotation\\\",e,t)},t.assertThisTypeAnnotation=function(e,t){i(\\\"ThisTypeAnnotation\\\",e,t)},t.assertTupleTypeAnnotation=function(e,t){i(\\\"TupleTypeAnnotation\\\",e,t)},t.assertTypeofTypeAnnotation=function(e,t){i(\\\"TypeofTypeAnnotation\\\",e,t)},t.assertTypeAlias=function(e,t){i(\\\"TypeAlias\\\",e,t)},t.assertTypeAnnotation=function(e,t){i(\\\"TypeAnnotation\\\",e,t)},t.assertTypeCastExpression=function(e,t){i(\\\"TypeCastExpression\\\",e,t)},t.assertTypeParameter=function(e,t){i(\\\"TypeParameter\\\",e,t)},t.assertTypeParameterDeclaration=function(e,t){i(\\\"TypeParameterDeclaration\\\",e,t)},t.assertTypeParameterInstantiation=function(e,t){i(\\\"TypeParameterInstantiation\\\",e,t)},t.assertUnionTypeAnnotation=function(e,t){i(\\\"UnionTypeAnnotation\\\",e,t)},t.assertVariance=function(e,t){i(\\\"Variance\\\",e,t)},t.assertVoidTypeAnnotation=function(e,t){i(\\\"VoidTypeAnnotation\\\",e,t)},t.assertEnumDeclaration=function(e,t){i(\\\"EnumDeclaration\\\",e,t)},t.assertEnumBooleanBody=function(e,t){i(\\\"EnumBooleanBody\\\",e,t)},t.assertEnumNumberBody=function(e,t){i(\\\"EnumNumberBody\\\",e,t)},t.assertEnumStringBody=function(e,t){i(\\\"EnumStringBody\\\",e,t)},t.assertEnumSymbolBody=function(e,t){i(\\\"EnumSymbolBody\\\",e,t)},t.assertEnumBooleanMember=function(e,t){i(\\\"EnumBooleanMember\\\",e,t)},t.assertEnumNumberMember=function(e,t){i(\\\"EnumNumberMember\\\",e,t)},t.assertEnumStringMember=function(e,t){i(\\\"EnumStringMember\\\",e,t)},t.assertEnumDefaultedMember=function(e,t){i(\\\"EnumDefaultedMember\\\",e,t)},t.assertIndexedAccessType=function(e,t){i(\\\"IndexedAccessType\\\",e,t)},t.assertOptionalIndexedAccessType=function(e,t){i(\\\"OptionalIndexedAccessType\\\",e,t)},t.assertJSXAttribute=function(e,t){i(\\\"JSXAttribute\\\",e,t)},t.assertJSXClosingElement=function(e,t){i(\\\"JSXClosingElement\\\",e,t)},t.assertJSXElement=function(e,t){i(\\\"JSXElement\\\",e,t)},t.assertJSXEmptyExpression=function(e,t){i(\\\"JSXEmptyExpression\\\",e,t)},t.assertJSXExpressionContainer=function(e,t){i(\\\"JSXExpressionContainer\\\",e,t)},t.assertJSXSpreadChild=function(e,t){i(\\\"JSXSpreadChild\\\",e,t)},t.assertJSXIdentifier=function(e,t){i(\\\"JSXIdentifier\\\",e,t)},t.assertJSXMemberExpression=function(e,t){i(\\\"JSXMemberExpression\\\",e,t)},t.assertJSXNamespacedName=function(e,t){i(\\\"JSXNamespacedName\\\",e,t)},t.assertJSXOpeningElement=function(e,t){i(\\\"JSXOpeningElement\\\",e,t)},t.assertJSXSpreadAttribute=function(e,t){i(\\\"JSXSpreadAttribute\\\",e,t)},t.assertJSXText=function(e,t){i(\\\"JSXText\\\",e,t)},t.assertJSXFragment=function(e,t){i(\\\"JSXFragment\\\",e,t)},t.assertJSXOpeningFragment=function(e,t){i(\\\"JSXOpeningFragment\\\",e,t)},t.assertJSXClosingFragment=function(e,t){i(\\\"JSXClosingFragment\\\",e,t)},t.assertNoop=function(e,t){i(\\\"Noop\\\",e,t)},t.assertPlaceholder=function(e,t){i(\\\"Placeholder\\\",e,t)},t.assertV8IntrinsicIdentifier=function(e,t){i(\\\"V8IntrinsicIdentifier\\\",e,t)},t.assertArgumentPlaceholder=function(e,t){i(\\\"ArgumentPlaceholder\\\",e,t)},t.assertBindExpression=function(e,t){i(\\\"BindExpression\\\",e,t)},t.assertClassProperty=function(e,t){i(\\\"ClassProperty\\\",e,t)},t.assertPipelineTopicExpression=function(e,t){i(\\\"PipelineTopicExpression\\\",e,t)},t.assertPipelineBareFunction=function(e,t){i(\\\"PipelineBareFunction\\\",e,t)},t.assertPipelinePrimaryTopicReference=function(e,t){i(\\\"PipelinePrimaryTopicReference\\\",e,t)},t.assertClassPrivateProperty=function(e,t){i(\\\"ClassPrivateProperty\\\",e,t)},t.assertClassPrivateMethod=function(e,t){i(\\\"ClassPrivateMethod\\\",e,t)},t.assertImportAttribute=function(e,t){i(\\\"ImportAttribute\\\",e,t)},t.assertDecorator=function(e,t){i(\\\"Decorator\\\",e,t)},t.assertDoExpression=function(e,t){i(\\\"DoExpression\\\",e,t)},t.assertExportDefaultSpecifier=function(e,t){i(\\\"ExportDefaultSpecifier\\\",e,t)},t.assertPrivateName=function(e,t){i(\\\"PrivateName\\\",e,t)},t.assertRecordExpression=function(e,t){i(\\\"RecordExpression\\\",e,t)},t.assertTupleExpression=function(e,t){i(\\\"TupleExpression\\\",e,t)},t.assertDecimalLiteral=function(e,t){i(\\\"DecimalLiteral\\\",e,t)},t.assertStaticBlock=function(e,t){i(\\\"StaticBlock\\\",e,t)},t.assertModuleExpression=function(e,t){i(\\\"ModuleExpression\\\",e,t)},t.assertTSParameterProperty=function(e,t){i(\\\"TSParameterProperty\\\",e,t)},t.assertTSDeclareFunction=function(e,t){i(\\\"TSDeclareFunction\\\",e,t)},t.assertTSDeclareMethod=function(e,t){i(\\\"TSDeclareMethod\\\",e,t)},t.assertTSQualifiedName=function(e,t){i(\\\"TSQualifiedName\\\",e,t)},t.assertTSCallSignatureDeclaration=function(e,t){i(\\\"TSCallSignatureDeclaration\\\",e,t)},t.assertTSConstructSignatureDeclaration=function(e,t){i(\\\"TSConstructSignatureDeclaration\\\",e,t)},t.assertTSPropertySignature=function(e,t){i(\\\"TSPropertySignature\\\",e,t)},t.assertTSMethodSignature=function(e,t){i(\\\"TSMethodSignature\\\",e,t)},t.assertTSIndexSignature=function(e,t){i(\\\"TSIndexSignature\\\",e,t)},t.assertTSAnyKeyword=function(e,t){i(\\\"TSAnyKeyword\\\",e,t)},t.assertTSBooleanKeyword=function(e,t){i(\\\"TSBooleanKeyword\\\",e,t)},t.assertTSBigIntKeyword=function(e,t){i(\\\"TSBigIntKeyword\\\",e,t)},t.assertTSIntrinsicKeyword=function(e,t){i(\\\"TSIntrinsicKeyword\\\",e,t)},t.assertTSNeverKeyword=function(e,t){i(\\\"TSNeverKeyword\\\",e,t)},t.assertTSNullKeyword=function(e,t){i(\\\"TSNullKeyword\\\",e,t)},t.assertTSNumberKeyword=function(e,t){i(\\\"TSNumberKeyword\\\",e,t)},t.assertTSObjectKeyword=function(e,t){i(\\\"TSObjectKeyword\\\",e,t)},t.assertTSStringKeyword=function(e,t){i(\\\"TSStringKeyword\\\",e,t)},t.assertTSSymbolKeyword=function(e,t){i(\\\"TSSymbolKeyword\\\",e,t)},t.assertTSUndefinedKeyword=function(e,t){i(\\\"TSUndefinedKeyword\\\",e,t)},t.assertTSUnknownKeyword=function(e,t){i(\\\"TSUnknownKeyword\\\",e,t)},t.assertTSVoidKeyword=function(e,t){i(\\\"TSVoidKeyword\\\",e,t)},t.assertTSThisType=function(e,t){i(\\\"TSThisType\\\",e,t)},t.assertTSFunctionType=function(e,t){i(\\\"TSFunctionType\\\",e,t)},t.assertTSConstructorType=function(e,t){i(\\\"TSConstructorType\\\",e,t)},t.assertTSTypeReference=function(e,t){i(\\\"TSTypeReference\\\",e,t)},t.assertTSTypePredicate=function(e,t){i(\\\"TSTypePredicate\\\",e,t)},t.assertTSTypeQuery=function(e,t){i(\\\"TSTypeQuery\\\",e,t)},t.assertTSTypeLiteral=function(e,t){i(\\\"TSTypeLiteral\\\",e,t)},t.assertTSArrayType=function(e,t){i(\\\"TSArrayType\\\",e,t)},t.assertTSTupleType=function(e,t){i(\\\"TSTupleType\\\",e,t)},t.assertTSOptionalType=function(e,t){i(\\\"TSOptionalType\\\",e,t)},t.assertTSRestType=function(e,t){i(\\\"TSRestType\\\",e,t)},t.assertTSNamedTupleMember=function(e,t){i(\\\"TSNamedTupleMember\\\",e,t)},t.assertTSUnionType=function(e,t){i(\\\"TSUnionType\\\",e,t)},t.assertTSIntersectionType=function(e,t){i(\\\"TSIntersectionType\\\",e,t)},t.assertTSConditionalType=function(e,t){i(\\\"TSConditionalType\\\",e,t)},t.assertTSInferType=function(e,t){i(\\\"TSInferType\\\",e,t)},t.assertTSParenthesizedType=function(e,t){i(\\\"TSParenthesizedType\\\",e,t)},t.assertTSTypeOperator=function(e,t){i(\\\"TSTypeOperator\\\",e,t)},t.assertTSIndexedAccessType=function(e,t){i(\\\"TSIndexedAccessType\\\",e,t)},t.assertTSMappedType=function(e,t){i(\\\"TSMappedType\\\",e,t)},t.assertTSLiteralType=function(e,t){i(\\\"TSLiteralType\\\",e,t)},t.assertTSExpressionWithTypeArguments=function(e,t){i(\\\"TSExpressionWithTypeArguments\\\",e,t)},t.assertTSInterfaceDeclaration=function(e,t){i(\\\"TSInterfaceDeclaration\\\",e,t)},t.assertTSInterfaceBody=function(e,t){i(\\\"TSInterfaceBody\\\",e,t)},t.assertTSTypeAliasDeclaration=function(e,t){i(\\\"TSTypeAliasDeclaration\\\",e,t)},t.assertTSAsExpression=function(e,t){i(\\\"TSAsExpression\\\",e,t)},t.assertTSTypeAssertion=function(e,t){i(\\\"TSTypeAssertion\\\",e,t)},t.assertTSEnumDeclaration=function(e,t){i(\\\"TSEnumDeclaration\\\",e,t)},t.assertTSEnumMember=function(e,t){i(\\\"TSEnumMember\\\",e,t)},t.assertTSModuleDeclaration=function(e,t){i(\\\"TSModuleDeclaration\\\",e,t)},t.assertTSModuleBlock=function(e,t){i(\\\"TSModuleBlock\\\",e,t)},t.assertTSImportType=function(e,t){i(\\\"TSImportType\\\",e,t)},t.assertTSImportEqualsDeclaration=function(e,t){i(\\\"TSImportEqualsDeclaration\\\",e,t)},t.assertTSExternalModuleReference=function(e,t){i(\\\"TSExternalModuleReference\\\",e,t)},t.assertTSNonNullExpression=function(e,t){i(\\\"TSNonNullExpression\\\",e,t)},t.assertTSExportAssignment=function(e,t){i(\\\"TSExportAssignment\\\",e,t)},t.assertTSNamespaceExportDeclaration=function(e,t){i(\\\"TSNamespaceExportDeclaration\\\",e,t)},t.assertTSTypeAnnotation=function(e,t){i(\\\"TSTypeAnnotation\\\",e,t)},t.assertTSTypeParameterInstantiation=function(e,t){i(\\\"TSTypeParameterInstantiation\\\",e,t)},t.assertTSTypeParameterDeclaration=function(e,t){i(\\\"TSTypeParameterDeclaration\\\",e,t)},t.assertTSTypeParameter=function(e,t){i(\\\"TSTypeParameter\\\",e,t)},t.assertExpression=function(e,t){i(\\\"Expression\\\",e,t)},t.assertBinary=function(e,t){i(\\\"Binary\\\",e,t)},t.assertScopable=function(e,t){i(\\\"Scopable\\\",e,t)},t.assertBlockParent=function(e,t){i(\\\"BlockParent\\\",e,t)},t.assertBlock=function(e,t){i(\\\"Block\\\",e,t)},t.assertStatement=function(e,t){i(\\\"Statement\\\",e,t)},t.assertTerminatorless=function(e,t){i(\\\"Terminatorless\\\",e,t)},t.assertCompletionStatement=function(e,t){i(\\\"CompletionStatement\\\",e,t)},t.assertConditional=function(e,t){i(\\\"Conditional\\\",e,t)},t.assertLoop=function(e,t){i(\\\"Loop\\\",e,t)},t.assertWhile=function(e,t){i(\\\"While\\\",e,t)},t.assertExpressionWrapper=function(e,t){i(\\\"ExpressionWrapper\\\",e,t)},t.assertFor=function(e,t){i(\\\"For\\\",e,t)},t.assertForXStatement=function(e,t){i(\\\"ForXStatement\\\",e,t)},t.assertFunction=function(e,t){i(\\\"Function\\\",e,t)},t.assertFunctionParent=function(e,t){i(\\\"FunctionParent\\\",e,t)},t.assertPureish=function(e,t){i(\\\"Pureish\\\",e,t)},t.assertDeclaration=function(e,t){i(\\\"Declaration\\\",e,t)},t.assertPatternLike=function(e,t){i(\\\"PatternLike\\\",e,t)},t.assertLVal=function(e,t){i(\\\"LVal\\\",e,t)},t.assertTSEntityName=function(e,t){i(\\\"TSEntityName\\\",e,t)},t.assertLiteral=function(e,t){i(\\\"Literal\\\",e,t)},t.assertImmutable=function(e,t){i(\\\"Immutable\\\",e,t)},t.assertUserWhitespacable=function(e,t){i(\\\"UserWhitespacable\\\",e,t)},t.assertMethod=function(e,t){i(\\\"Method\\\",e,t)},t.assertObjectMember=function(e,t){i(\\\"ObjectMember\\\",e,t)},t.assertProperty=function(e,t){i(\\\"Property\\\",e,t)},t.assertUnaryLike=function(e,t){i(\\\"UnaryLike\\\",e,t)},t.assertPattern=function(e,t){i(\\\"Pattern\\\",e,t)},t.assertClass=function(e,t){i(\\\"Class\\\",e,t)},t.assertModuleDeclaration=function(e,t){i(\\\"ModuleDeclaration\\\",e,t)},t.assertExportDeclaration=function(e,t){i(\\\"ExportDeclaration\\\",e,t)},t.assertModuleSpecifier=function(e,t){i(\\\"ModuleSpecifier\\\",e,t)},t.assertFlow=function(e,t){i(\\\"Flow\\\",e,t)},t.assertFlowType=function(e,t){i(\\\"FlowType\\\",e,t)},t.assertFlowBaseAnnotation=function(e,t){i(\\\"FlowBaseAnnotation\\\",e,t)},t.assertFlowDeclaration=function(e,t){i(\\\"FlowDeclaration\\\",e,t)},t.assertFlowPredicate=function(e,t){i(\\\"FlowPredicate\\\",e,t)},t.assertEnumBody=function(e,t){i(\\\"EnumBody\\\",e,t)},t.assertEnumMember=function(e,t){i(\\\"EnumMember\\\",e,t)},t.assertJSX=function(e,t){i(\\\"JSX\\\",e,t)},t.assertPrivate=function(e,t){i(\\\"Private\\\",e,t)},t.assertTSTypeElement=function(e,t){i(\\\"TSTypeElement\\\",e,t)},t.assertTSType=function(e,t){i(\\\"TSType\\\",e,t)},t.assertTSBaseType=function(e,t){i(\\\"TSBaseType\\\",e,t)},t.assertNumberLiteral=function(e,t){console.trace(\\\"The node type NumberLiteral has been renamed to NumericLiteral\\\"),i(\\\"NumberLiteral\\\",e,t)},t.assertRegexLiteral=function(e,t){console.trace(\\\"The node type RegexLiteral has been renamed to RegExpLiteral\\\"),i(\\\"RegexLiteral\\\",e,t)},t.assertRestProperty=function(e,t){console.trace(\\\"The node type RestProperty has been renamed to RestElement\\\"),i(\\\"RestProperty\\\",e,t)},t.assertSpreadProperty=function(e,t){console.trace(\\\"The node type SpreadProperty has been renamed to SpreadElement\\\"),i(\\\"SpreadProperty\\\",e,t)};var n=r(5001);function i(e,t,r){if(!(0,n.default)(e,t,r))throw new Error(`Expected type \\\"${e}\\\" with option ${JSON.stringify(r)}, but instead got \\\"${t.type}\\\".`)}},2006:()=>{},9234:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,...t){const r=n.BUILDER_KEYS[e],s=t.length;if(s>r.length)throw new Error(`${e}: Too many arguments passed. Received ${s} but can receive no more than ${r.length}`);const a={type:e};let o=0;r.forEach((r=>{const i=n.NODE_FIELDS[e][r];let l;o{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){const t=(0,i.default)(e);return 1===t.length?t[0]:(0,n.unionTypeAnnotation)(t)};var n=r(1580),i=r(6337)},7395:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){if(\\\"string\\\"===e)return(0,n.stringTypeAnnotation)();if(\\\"number\\\"===e)return(0,n.numberTypeAnnotation)();if(\\\"undefined\\\"===e)return(0,n.voidTypeAnnotation)();if(\\\"boolean\\\"===e)return(0,n.booleanTypeAnnotation)();if(\\\"function\\\"===e)return(0,n.genericTypeAnnotation)((0,n.identifier)(\\\"Function\\\"));if(\\\"object\\\"===e)return(0,n.genericTypeAnnotation)((0,n.identifier)(\\\"Object\\\"));if(\\\"symbol\\\"===e)return(0,n.genericTypeAnnotation)((0,n.identifier)(\\\"Symbol\\\"));if(\\\"bigint\\\"===e)return(0,n.anyTypeAnnotation)();throw new Error(\\\"Invalid typeof value: \\\"+e)};var n=r(1580)},1580:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.arrayExpression=function(e){return(0,n.default)(\\\"ArrayExpression\\\",...arguments)},t.assignmentExpression=function(e,t,r){return(0,n.default)(\\\"AssignmentExpression\\\",...arguments)},t.binaryExpression=function(e,t,r){return(0,n.default)(\\\"BinaryExpression\\\",...arguments)},t.interpreterDirective=function(e){return(0,n.default)(\\\"InterpreterDirective\\\",...arguments)},t.directive=function(e){return(0,n.default)(\\\"Directive\\\",...arguments)},t.directiveLiteral=function(e){return(0,n.default)(\\\"DirectiveLiteral\\\",...arguments)},t.blockStatement=function(e,t){return(0,n.default)(\\\"BlockStatement\\\",...arguments)},t.breakStatement=function(e){return(0,n.default)(\\\"BreakStatement\\\",...arguments)},t.callExpression=function(e,t){return(0,n.default)(\\\"CallExpression\\\",...arguments)},t.catchClause=function(e,t){return(0,n.default)(\\\"CatchClause\\\",...arguments)},t.conditionalExpression=function(e,t,r){return(0,n.default)(\\\"ConditionalExpression\\\",...arguments)},t.continueStatement=function(e){return(0,n.default)(\\\"ContinueStatement\\\",...arguments)},t.debuggerStatement=function(){return(0,n.default)(\\\"DebuggerStatement\\\",...arguments)},t.doWhileStatement=function(e,t){return(0,n.default)(\\\"DoWhileStatement\\\",...arguments)},t.emptyStatement=function(){return(0,n.default)(\\\"EmptyStatement\\\",...arguments)},t.expressionStatement=function(e){return(0,n.default)(\\\"ExpressionStatement\\\",...arguments)},t.file=function(e,t,r){return(0,n.default)(\\\"File\\\",...arguments)},t.forInStatement=function(e,t,r){return(0,n.default)(\\\"ForInStatement\\\",...arguments)},t.forStatement=function(e,t,r,i){return(0,n.default)(\\\"ForStatement\\\",...arguments)},t.functionDeclaration=function(e,t,r,i,s){return(0,n.default)(\\\"FunctionDeclaration\\\",...arguments)},t.functionExpression=function(e,t,r,i,s){return(0,n.default)(\\\"FunctionExpression\\\",...arguments)},t.identifier=function(e){return(0,n.default)(\\\"Identifier\\\",...arguments)},t.ifStatement=function(e,t,r){return(0,n.default)(\\\"IfStatement\\\",...arguments)},t.labeledStatement=function(e,t){return(0,n.default)(\\\"LabeledStatement\\\",...arguments)},t.stringLiteral=function(e){return(0,n.default)(\\\"StringLiteral\\\",...arguments)},t.numericLiteral=function(e){return(0,n.default)(\\\"NumericLiteral\\\",...arguments)},t.nullLiteral=function(){return(0,n.default)(\\\"NullLiteral\\\",...arguments)},t.booleanLiteral=function(e){return(0,n.default)(\\\"BooleanLiteral\\\",...arguments)},t.regExpLiteral=function(e,t){return(0,n.default)(\\\"RegExpLiteral\\\",...arguments)},t.logicalExpression=function(e,t,r){return(0,n.default)(\\\"LogicalExpression\\\",...arguments)},t.memberExpression=function(e,t,r,i){return(0,n.default)(\\\"MemberExpression\\\",...arguments)},t.newExpression=function(e,t){return(0,n.default)(\\\"NewExpression\\\",...arguments)},t.program=function(e,t,r,i){return(0,n.default)(\\\"Program\\\",...arguments)},t.objectExpression=function(e){return(0,n.default)(\\\"ObjectExpression\\\",...arguments)},t.objectMethod=function(e,t,r,i,s,a,o){return(0,n.default)(\\\"ObjectMethod\\\",...arguments)},t.objectProperty=function(e,t,r,i,s){return(0,n.default)(\\\"ObjectProperty\\\",...arguments)},t.restElement=function(e){return(0,n.default)(\\\"RestElement\\\",...arguments)},t.returnStatement=function(e){return(0,n.default)(\\\"ReturnStatement\\\",...arguments)},t.sequenceExpression=function(e){return(0,n.default)(\\\"SequenceExpression\\\",...arguments)},t.parenthesizedExpression=function(e){return(0,n.default)(\\\"ParenthesizedExpression\\\",...arguments)},t.switchCase=function(e,t){return(0,n.default)(\\\"SwitchCase\\\",...arguments)},t.switchStatement=function(e,t){return(0,n.default)(\\\"SwitchStatement\\\",...arguments)},t.thisExpression=function(){return(0,n.default)(\\\"ThisExpression\\\",...arguments)},t.throwStatement=function(e){return(0,n.default)(\\\"ThrowStatement\\\",...arguments)},t.tryStatement=function(e,t,r){return(0,n.default)(\\\"TryStatement\\\",...arguments)},t.unaryExpression=function(e,t,r){return(0,n.default)(\\\"UnaryExpression\\\",...arguments)},t.updateExpression=function(e,t,r){return(0,n.default)(\\\"UpdateExpression\\\",...arguments)},t.variableDeclaration=function(e,t){return(0,n.default)(\\\"VariableDeclaration\\\",...arguments)},t.variableDeclarator=function(e,t){return(0,n.default)(\\\"VariableDeclarator\\\",...arguments)},t.whileStatement=function(e,t){return(0,n.default)(\\\"WhileStatement\\\",...arguments)},t.withStatement=function(e,t){return(0,n.default)(\\\"WithStatement\\\",...arguments)},t.assignmentPattern=function(e,t){return(0,n.default)(\\\"AssignmentPattern\\\",...arguments)},t.arrayPattern=function(e){return(0,n.default)(\\\"ArrayPattern\\\",...arguments)},t.arrowFunctionExpression=function(e,t,r){return(0,n.default)(\\\"ArrowFunctionExpression\\\",...arguments)},t.classBody=function(e){return(0,n.default)(\\\"ClassBody\\\",...arguments)},t.classExpression=function(e,t,r,i){return(0,n.default)(\\\"ClassExpression\\\",...arguments)},t.classDeclaration=function(e,t,r,i){return(0,n.default)(\\\"ClassDeclaration\\\",...arguments)},t.exportAllDeclaration=function(e){return(0,n.default)(\\\"ExportAllDeclaration\\\",...arguments)},t.exportDefaultDeclaration=function(e){return(0,n.default)(\\\"ExportDefaultDeclaration\\\",...arguments)},t.exportNamedDeclaration=function(e,t,r){return(0,n.default)(\\\"ExportNamedDeclaration\\\",...arguments)},t.exportSpecifier=function(e,t){return(0,n.default)(\\\"ExportSpecifier\\\",...arguments)},t.forOfStatement=function(e,t,r,i){return(0,n.default)(\\\"ForOfStatement\\\",...arguments)},t.importDeclaration=function(e,t){return(0,n.default)(\\\"ImportDeclaration\\\",...arguments)},t.importDefaultSpecifier=function(e){return(0,n.default)(\\\"ImportDefaultSpecifier\\\",...arguments)},t.importNamespaceSpecifier=function(e){return(0,n.default)(\\\"ImportNamespaceSpecifier\\\",...arguments)},t.importSpecifier=function(e,t){return(0,n.default)(\\\"ImportSpecifier\\\",...arguments)},t.metaProperty=function(e,t){return(0,n.default)(\\\"MetaProperty\\\",...arguments)},t.classMethod=function(e,t,r,i,s,a,o,l){return(0,n.default)(\\\"ClassMethod\\\",...arguments)},t.objectPattern=function(e){return(0,n.default)(\\\"ObjectPattern\\\",...arguments)},t.spreadElement=function(e){return(0,n.default)(\\\"SpreadElement\\\",...arguments)},t.super=function(){return(0,n.default)(\\\"Super\\\",...arguments)},t.taggedTemplateExpression=function(e,t){return(0,n.default)(\\\"TaggedTemplateExpression\\\",...arguments)},t.templateElement=function(e,t){return(0,n.default)(\\\"TemplateElement\\\",...arguments)},t.templateLiteral=function(e,t){return(0,n.default)(\\\"TemplateLiteral\\\",...arguments)},t.yieldExpression=function(e,t){return(0,n.default)(\\\"YieldExpression\\\",...arguments)},t.awaitExpression=function(e){return(0,n.default)(\\\"AwaitExpression\\\",...arguments)},t.import=function(){return(0,n.default)(\\\"Import\\\",...arguments)},t.bigIntLiteral=function(e){return(0,n.default)(\\\"BigIntLiteral\\\",...arguments)},t.exportNamespaceSpecifier=function(e){return(0,n.default)(\\\"ExportNamespaceSpecifier\\\",...arguments)},t.optionalMemberExpression=function(e,t,r,i){return(0,n.default)(\\\"OptionalMemberExpression\\\",...arguments)},t.optionalCallExpression=function(e,t,r){return(0,n.default)(\\\"OptionalCallExpression\\\",...arguments)},t.anyTypeAnnotation=function(){return(0,n.default)(\\\"AnyTypeAnnotation\\\",...arguments)},t.arrayTypeAnnotation=function(e){return(0,n.default)(\\\"ArrayTypeAnnotation\\\",...arguments)},t.booleanTypeAnnotation=function(){return(0,n.default)(\\\"BooleanTypeAnnotation\\\",...arguments)},t.booleanLiteralTypeAnnotation=function(e){return(0,n.default)(\\\"BooleanLiteralTypeAnnotation\\\",...arguments)},t.nullLiteralTypeAnnotation=function(){return(0,n.default)(\\\"NullLiteralTypeAnnotation\\\",...arguments)},t.classImplements=function(e,t){return(0,n.default)(\\\"ClassImplements\\\",...arguments)},t.declareClass=function(e,t,r,i){return(0,n.default)(\\\"DeclareClass\\\",...arguments)},t.declareFunction=function(e){return(0,n.default)(\\\"DeclareFunction\\\",...arguments)},t.declareInterface=function(e,t,r,i){return(0,n.default)(\\\"DeclareInterface\\\",...arguments)},t.declareModule=function(e,t,r){return(0,n.default)(\\\"DeclareModule\\\",...arguments)},t.declareModuleExports=function(e){return(0,n.default)(\\\"DeclareModuleExports\\\",...arguments)},t.declareTypeAlias=function(e,t,r){return(0,n.default)(\\\"DeclareTypeAlias\\\",...arguments)},t.declareOpaqueType=function(e,t,r){return(0,n.default)(\\\"DeclareOpaqueType\\\",...arguments)},t.declareVariable=function(e){return(0,n.default)(\\\"DeclareVariable\\\",...arguments)},t.declareExportDeclaration=function(e,t,r){return(0,n.default)(\\\"DeclareExportDeclaration\\\",...arguments)},t.declareExportAllDeclaration=function(e){return(0,n.default)(\\\"DeclareExportAllDeclaration\\\",...arguments)},t.declaredPredicate=function(e){return(0,n.default)(\\\"DeclaredPredicate\\\",...arguments)},t.existsTypeAnnotation=function(){return(0,n.default)(\\\"ExistsTypeAnnotation\\\",...arguments)},t.functionTypeAnnotation=function(e,t,r,i){return(0,n.default)(\\\"FunctionTypeAnnotation\\\",...arguments)},t.functionTypeParam=function(e,t){return(0,n.default)(\\\"FunctionTypeParam\\\",...arguments)},t.genericTypeAnnotation=function(e,t){return(0,n.default)(\\\"GenericTypeAnnotation\\\",...arguments)},t.inferredPredicate=function(){return(0,n.default)(\\\"InferredPredicate\\\",...arguments)},t.interfaceExtends=function(e,t){return(0,n.default)(\\\"InterfaceExtends\\\",...arguments)},t.interfaceDeclaration=function(e,t,r,i){return(0,n.default)(\\\"InterfaceDeclaration\\\",...arguments)},t.interfaceTypeAnnotation=function(e,t){return(0,n.default)(\\\"InterfaceTypeAnnotation\\\",...arguments)},t.intersectionTypeAnnotation=function(e){return(0,n.default)(\\\"IntersectionTypeAnnotation\\\",...arguments)},t.mixedTypeAnnotation=function(){return(0,n.default)(\\\"MixedTypeAnnotation\\\",...arguments)},t.emptyTypeAnnotation=function(){return(0,n.default)(\\\"EmptyTypeAnnotation\\\",...arguments)},t.nullableTypeAnnotation=function(e){return(0,n.default)(\\\"NullableTypeAnnotation\\\",...arguments)},t.numberLiteralTypeAnnotation=function(e){return(0,n.default)(\\\"NumberLiteralTypeAnnotation\\\",...arguments)},t.numberTypeAnnotation=function(){return(0,n.default)(\\\"NumberTypeAnnotation\\\",...arguments)},t.objectTypeAnnotation=function(e,t,r,i,s){return(0,n.default)(\\\"ObjectTypeAnnotation\\\",...arguments)},t.objectTypeInternalSlot=function(e,t,r,i,s){return(0,n.default)(\\\"ObjectTypeInternalSlot\\\",...arguments)},t.objectTypeCallProperty=function(e){return(0,n.default)(\\\"ObjectTypeCallProperty\\\",...arguments)},t.objectTypeIndexer=function(e,t,r,i){return(0,n.default)(\\\"ObjectTypeIndexer\\\",...arguments)},t.objectTypeProperty=function(e,t,r){return(0,n.default)(\\\"ObjectTypeProperty\\\",...arguments)},t.objectTypeSpreadProperty=function(e){return(0,n.default)(\\\"ObjectTypeSpreadProperty\\\",...arguments)},t.opaqueType=function(e,t,r,i){return(0,n.default)(\\\"OpaqueType\\\",...arguments)},t.qualifiedTypeIdentifier=function(e,t){return(0,n.default)(\\\"QualifiedTypeIdentifier\\\",...arguments)},t.stringLiteralTypeAnnotation=function(e){return(0,n.default)(\\\"StringLiteralTypeAnnotation\\\",...arguments)},t.stringTypeAnnotation=function(){return(0,n.default)(\\\"StringTypeAnnotation\\\",...arguments)},t.symbolTypeAnnotation=function(){return(0,n.default)(\\\"SymbolTypeAnnotation\\\",...arguments)},t.thisTypeAnnotation=function(){return(0,n.default)(\\\"ThisTypeAnnotation\\\",...arguments)},t.tupleTypeAnnotation=function(e){return(0,n.default)(\\\"TupleTypeAnnotation\\\",...arguments)},t.typeofTypeAnnotation=function(e){return(0,n.default)(\\\"TypeofTypeAnnotation\\\",...arguments)},t.typeAlias=function(e,t,r){return(0,n.default)(\\\"TypeAlias\\\",...arguments)},t.typeAnnotation=function(e){return(0,n.default)(\\\"TypeAnnotation\\\",...arguments)},t.typeCastExpression=function(e,t){return(0,n.default)(\\\"TypeCastExpression\\\",...arguments)},t.typeParameter=function(e,t,r){return(0,n.default)(\\\"TypeParameter\\\",...arguments)},t.typeParameterDeclaration=function(e){return(0,n.default)(\\\"TypeParameterDeclaration\\\",...arguments)},t.typeParameterInstantiation=function(e){return(0,n.default)(\\\"TypeParameterInstantiation\\\",...arguments)},t.unionTypeAnnotation=function(e){return(0,n.default)(\\\"UnionTypeAnnotation\\\",...arguments)},t.variance=function(e){return(0,n.default)(\\\"Variance\\\",...arguments)},t.voidTypeAnnotation=function(){return(0,n.default)(\\\"VoidTypeAnnotation\\\",...arguments)},t.enumDeclaration=function(e,t){return(0,n.default)(\\\"EnumDeclaration\\\",...arguments)},t.enumBooleanBody=function(e){return(0,n.default)(\\\"EnumBooleanBody\\\",...arguments)},t.enumNumberBody=function(e){return(0,n.default)(\\\"EnumNumberBody\\\",...arguments)},t.enumStringBody=function(e){return(0,n.default)(\\\"EnumStringBody\\\",...arguments)},t.enumSymbolBody=function(e){return(0,n.default)(\\\"EnumSymbolBody\\\",...arguments)},t.enumBooleanMember=function(e){return(0,n.default)(\\\"EnumBooleanMember\\\",...arguments)},t.enumNumberMember=function(e,t){return(0,n.default)(\\\"EnumNumberMember\\\",...arguments)},t.enumStringMember=function(e,t){return(0,n.default)(\\\"EnumStringMember\\\",...arguments)},t.enumDefaultedMember=function(e){return(0,n.default)(\\\"EnumDefaultedMember\\\",...arguments)},t.indexedAccessType=function(e,t){return(0,n.default)(\\\"IndexedAccessType\\\",...arguments)},t.optionalIndexedAccessType=function(e,t){return(0,n.default)(\\\"OptionalIndexedAccessType\\\",...arguments)},t.jSXAttribute=t.jsxAttribute=function(e,t){return(0,n.default)(\\\"JSXAttribute\\\",...arguments)},t.jSXClosingElement=t.jsxClosingElement=function(e){return(0,n.default)(\\\"JSXClosingElement\\\",...arguments)},t.jSXElement=t.jsxElement=function(e,t,r,i){return(0,n.default)(\\\"JSXElement\\\",...arguments)},t.jSXEmptyExpression=t.jsxEmptyExpression=function(){return(0,n.default)(\\\"JSXEmptyExpression\\\",...arguments)},t.jSXExpressionContainer=t.jsxExpressionContainer=function(e){return(0,n.default)(\\\"JSXExpressionContainer\\\",...arguments)},t.jSXSpreadChild=t.jsxSpreadChild=function(e){return(0,n.default)(\\\"JSXSpreadChild\\\",...arguments)},t.jSXIdentifier=t.jsxIdentifier=function(e){return(0,n.default)(\\\"JSXIdentifier\\\",...arguments)},t.jSXMemberExpression=t.jsxMemberExpression=function(e,t){return(0,n.default)(\\\"JSXMemberExpression\\\",...arguments)},t.jSXNamespacedName=t.jsxNamespacedName=function(e,t){return(0,n.default)(\\\"JSXNamespacedName\\\",...arguments)},t.jSXOpeningElement=t.jsxOpeningElement=function(e,t,r){return(0,n.default)(\\\"JSXOpeningElement\\\",...arguments)},t.jSXSpreadAttribute=t.jsxSpreadAttribute=function(e){return(0,n.default)(\\\"JSXSpreadAttribute\\\",...arguments)},t.jSXText=t.jsxText=function(e){return(0,n.default)(\\\"JSXText\\\",...arguments)},t.jSXFragment=t.jsxFragment=function(e,t,r){return(0,n.default)(\\\"JSXFragment\\\",...arguments)},t.jSXOpeningFragment=t.jsxOpeningFragment=function(){return(0,n.default)(\\\"JSXOpeningFragment\\\",...arguments)},t.jSXClosingFragment=t.jsxClosingFragment=function(){return(0,n.default)(\\\"JSXClosingFragment\\\",...arguments)},t.noop=function(){return(0,n.default)(\\\"Noop\\\",...arguments)},t.placeholder=function(e,t){return(0,n.default)(\\\"Placeholder\\\",...arguments)},t.v8IntrinsicIdentifier=function(e){return(0,n.default)(\\\"V8IntrinsicIdentifier\\\",...arguments)},t.argumentPlaceholder=function(){return(0,n.default)(\\\"ArgumentPlaceholder\\\",...arguments)},t.bindExpression=function(e,t){return(0,n.default)(\\\"BindExpression\\\",...arguments)},t.classProperty=function(e,t,r,i,s,a){return(0,n.default)(\\\"ClassProperty\\\",...arguments)},t.pipelineTopicExpression=function(e){return(0,n.default)(\\\"PipelineTopicExpression\\\",...arguments)},t.pipelineBareFunction=function(e){return(0,n.default)(\\\"PipelineBareFunction\\\",...arguments)},t.pipelinePrimaryTopicReference=function(){return(0,n.default)(\\\"PipelinePrimaryTopicReference\\\",...arguments)},t.classPrivateProperty=function(e,t,r,i){return(0,n.default)(\\\"ClassPrivateProperty\\\",...arguments)},t.classPrivateMethod=function(e,t,r,i,s){return(0,n.default)(\\\"ClassPrivateMethod\\\",...arguments)},t.importAttribute=function(e,t){return(0,n.default)(\\\"ImportAttribute\\\",...arguments)},t.decorator=function(e){return(0,n.default)(\\\"Decorator\\\",...arguments)},t.doExpression=function(e,t){return(0,n.default)(\\\"DoExpression\\\",...arguments)},t.exportDefaultSpecifier=function(e){return(0,n.default)(\\\"ExportDefaultSpecifier\\\",...arguments)},t.privateName=function(e){return(0,n.default)(\\\"PrivateName\\\",...arguments)},t.recordExpression=function(e){return(0,n.default)(\\\"RecordExpression\\\",...arguments)},t.tupleExpression=function(e){return(0,n.default)(\\\"TupleExpression\\\",...arguments)},t.decimalLiteral=function(e){return(0,n.default)(\\\"DecimalLiteral\\\",...arguments)},t.staticBlock=function(e){return(0,n.default)(\\\"StaticBlock\\\",...arguments)},t.moduleExpression=function(e){return(0,n.default)(\\\"ModuleExpression\\\",...arguments)},t.tSParameterProperty=t.tsParameterProperty=function(e){return(0,n.default)(\\\"TSParameterProperty\\\",...arguments)},t.tSDeclareFunction=t.tsDeclareFunction=function(e,t,r,i){return(0,n.default)(\\\"TSDeclareFunction\\\",...arguments)},t.tSDeclareMethod=t.tsDeclareMethod=function(e,t,r,i,s){return(0,n.default)(\\\"TSDeclareMethod\\\",...arguments)},t.tSQualifiedName=t.tsQualifiedName=function(e,t){return(0,n.default)(\\\"TSQualifiedName\\\",...arguments)},t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=function(e,t,r){return(0,n.default)(\\\"TSCallSignatureDeclaration\\\",...arguments)},t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=function(e,t,r){return(0,n.default)(\\\"TSConstructSignatureDeclaration\\\",...arguments)},t.tSPropertySignature=t.tsPropertySignature=function(e,t,r){return(0,n.default)(\\\"TSPropertySignature\\\",...arguments)},t.tSMethodSignature=t.tsMethodSignature=function(e,t,r,i){return(0,n.default)(\\\"TSMethodSignature\\\",...arguments)},t.tSIndexSignature=t.tsIndexSignature=function(e,t){return(0,n.default)(\\\"TSIndexSignature\\\",...arguments)},t.tSAnyKeyword=t.tsAnyKeyword=function(){return(0,n.default)(\\\"TSAnyKeyword\\\",...arguments)},t.tSBooleanKeyword=t.tsBooleanKeyword=function(){return(0,n.default)(\\\"TSBooleanKeyword\\\",...arguments)},t.tSBigIntKeyword=t.tsBigIntKeyword=function(){return(0,n.default)(\\\"TSBigIntKeyword\\\",...arguments)},t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=function(){return(0,n.default)(\\\"TSIntrinsicKeyword\\\",...arguments)},t.tSNeverKeyword=t.tsNeverKeyword=function(){return(0,n.default)(\\\"TSNeverKeyword\\\",...arguments)},t.tSNullKeyword=t.tsNullKeyword=function(){return(0,n.default)(\\\"TSNullKeyword\\\",...arguments)},t.tSNumberKeyword=t.tsNumberKeyword=function(){return(0,n.default)(\\\"TSNumberKeyword\\\",...arguments)},t.tSObjectKeyword=t.tsObjectKeyword=function(){return(0,n.default)(\\\"TSObjectKeyword\\\",...arguments)},t.tSStringKeyword=t.tsStringKeyword=function(){return(0,n.default)(\\\"TSStringKeyword\\\",...arguments)},t.tSSymbolKeyword=t.tsSymbolKeyword=function(){return(0,n.default)(\\\"TSSymbolKeyword\\\",...arguments)},t.tSUndefinedKeyword=t.tsUndefinedKeyword=function(){return(0,n.default)(\\\"TSUndefinedKeyword\\\",...arguments)},t.tSUnknownKeyword=t.tsUnknownKeyword=function(){return(0,n.default)(\\\"TSUnknownKeyword\\\",...arguments)},t.tSVoidKeyword=t.tsVoidKeyword=function(){return(0,n.default)(\\\"TSVoidKeyword\\\",...arguments)},t.tSThisType=t.tsThisType=function(){return(0,n.default)(\\\"TSThisType\\\",...arguments)},t.tSFunctionType=t.tsFunctionType=function(e,t,r){return(0,n.default)(\\\"TSFunctionType\\\",...arguments)},t.tSConstructorType=t.tsConstructorType=function(e,t,r){return(0,n.default)(\\\"TSConstructorType\\\",...arguments)},t.tSTypeReference=t.tsTypeReference=function(e,t){return(0,n.default)(\\\"TSTypeReference\\\",...arguments)},t.tSTypePredicate=t.tsTypePredicate=function(e,t,r){return(0,n.default)(\\\"TSTypePredicate\\\",...arguments)},t.tSTypeQuery=t.tsTypeQuery=function(e){return(0,n.default)(\\\"TSTypeQuery\\\",...arguments)},t.tSTypeLiteral=t.tsTypeLiteral=function(e){return(0,n.default)(\\\"TSTypeLiteral\\\",...arguments)},t.tSArrayType=t.tsArrayType=function(e){return(0,n.default)(\\\"TSArrayType\\\",...arguments)},t.tSTupleType=t.tsTupleType=function(e){return(0,n.default)(\\\"TSTupleType\\\",...arguments)},t.tSOptionalType=t.tsOptionalType=function(e){return(0,n.default)(\\\"TSOptionalType\\\",...arguments)},t.tSRestType=t.tsRestType=function(e){return(0,n.default)(\\\"TSRestType\\\",...arguments)},t.tSNamedTupleMember=t.tsNamedTupleMember=function(e,t,r){return(0,n.default)(\\\"TSNamedTupleMember\\\",...arguments)},t.tSUnionType=t.tsUnionType=function(e){return(0,n.default)(\\\"TSUnionType\\\",...arguments)},t.tSIntersectionType=t.tsIntersectionType=function(e){return(0,n.default)(\\\"TSIntersectionType\\\",...arguments)},t.tSConditionalType=t.tsConditionalType=function(e,t,r,i){return(0,n.default)(\\\"TSConditionalType\\\",...arguments)},t.tSInferType=t.tsInferType=function(e){return(0,n.default)(\\\"TSInferType\\\",...arguments)},t.tSParenthesizedType=t.tsParenthesizedType=function(e){return(0,n.default)(\\\"TSParenthesizedType\\\",...arguments)},t.tSTypeOperator=t.tsTypeOperator=function(e){return(0,n.default)(\\\"TSTypeOperator\\\",...arguments)},t.tSIndexedAccessType=t.tsIndexedAccessType=function(e,t){return(0,n.default)(\\\"TSIndexedAccessType\\\",...arguments)},t.tSMappedType=t.tsMappedType=function(e,t,r){return(0,n.default)(\\\"TSMappedType\\\",...arguments)},t.tSLiteralType=t.tsLiteralType=function(e){return(0,n.default)(\\\"TSLiteralType\\\",...arguments)},t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=function(e,t){return(0,n.default)(\\\"TSExpressionWithTypeArguments\\\",...arguments)},t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=function(e,t,r,i){return(0,n.default)(\\\"TSInterfaceDeclaration\\\",...arguments)},t.tSInterfaceBody=t.tsInterfaceBody=function(e){return(0,n.default)(\\\"TSInterfaceBody\\\",...arguments)},t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=function(e,t,r){return(0,n.default)(\\\"TSTypeAliasDeclaration\\\",...arguments)},t.tSAsExpression=t.tsAsExpression=function(e,t){return(0,n.default)(\\\"TSAsExpression\\\",...arguments)},t.tSTypeAssertion=t.tsTypeAssertion=function(e,t){return(0,n.default)(\\\"TSTypeAssertion\\\",...arguments)},t.tSEnumDeclaration=t.tsEnumDeclaration=function(e,t){return(0,n.default)(\\\"TSEnumDeclaration\\\",...arguments)},t.tSEnumMember=t.tsEnumMember=function(e,t){return(0,n.default)(\\\"TSEnumMember\\\",...arguments)},t.tSModuleDeclaration=t.tsModuleDeclaration=function(e,t){return(0,n.default)(\\\"TSModuleDeclaration\\\",...arguments)},t.tSModuleBlock=t.tsModuleBlock=function(e){return(0,n.default)(\\\"TSModuleBlock\\\",...arguments)},t.tSImportType=t.tsImportType=function(e,t,r){return(0,n.default)(\\\"TSImportType\\\",...arguments)},t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=function(e,t){return(0,n.default)(\\\"TSImportEqualsDeclaration\\\",...arguments)},t.tSExternalModuleReference=t.tsExternalModuleReference=function(e){return(0,n.default)(\\\"TSExternalModuleReference\\\",...arguments)},t.tSNonNullExpression=t.tsNonNullExpression=function(e){return(0,n.default)(\\\"TSNonNullExpression\\\",...arguments)},t.tSExportAssignment=t.tsExportAssignment=function(e){return(0,n.default)(\\\"TSExportAssignment\\\",...arguments)},t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=function(e){return(0,n.default)(\\\"TSNamespaceExportDeclaration\\\",...arguments)},t.tSTypeAnnotation=t.tsTypeAnnotation=function(e){return(0,n.default)(\\\"TSTypeAnnotation\\\",...arguments)},t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=function(e){return(0,n.default)(\\\"TSTypeParameterInstantiation\\\",...arguments)},t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=function(e){return(0,n.default)(\\\"TSTypeParameterDeclaration\\\",...arguments)},t.tSTypeParameter=t.tsTypeParameter=function(e,t,r){return(0,n.default)(\\\"TSTypeParameter\\\",...arguments)},t.numberLiteral=function(...e){return console.trace(\\\"The node type NumberLiteral has been renamed to NumericLiteral\\\"),(0,n.default)(\\\"NumberLiteral\\\",...e)},t.regexLiteral=function(...e){return console.trace(\\\"The node type RegexLiteral has been renamed to RegExpLiteral\\\"),(0,n.default)(\\\"RegexLiteral\\\",...e)},t.restProperty=function(...e){return console.trace(\\\"The node type RestProperty has been renamed to RestElement\\\"),(0,n.default)(\\\"RestProperty\\\",...e)},t.spreadProperty=function(...e){return console.trace(\\\"The node type SpreadProperty has been renamed to SpreadElement\\\"),(0,n.default)(\\\"SpreadProperty\\\",...e)};var n=r(9234)},6306:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),Object.defineProperty(t,\\\"ArrayExpression\\\",{enumerable:!0,get:function(){return n.arrayExpression}}),Object.defineProperty(t,\\\"AssignmentExpression\\\",{enumerable:!0,get:function(){return n.assignmentExpression}}),Object.defineProperty(t,\\\"BinaryExpression\\\",{enumerable:!0,get:function(){return n.binaryExpression}}),Object.defineProperty(t,\\\"InterpreterDirective\\\",{enumerable:!0,get:function(){return n.interpreterDirective}}),Object.defineProperty(t,\\\"Directive\\\",{enumerable:!0,get:function(){return n.directive}}),Object.defineProperty(t,\\\"DirectiveLiteral\\\",{enumerable:!0,get:function(){return n.directiveLiteral}}),Object.defineProperty(t,\\\"BlockStatement\\\",{enumerable:!0,get:function(){return n.blockStatement}}),Object.defineProperty(t,\\\"BreakStatement\\\",{enumerable:!0,get:function(){return n.breakStatement}}),Object.defineProperty(t,\\\"CallExpression\\\",{enumerable:!0,get:function(){return n.callExpression}}),Object.defineProperty(t,\\\"CatchClause\\\",{enumerable:!0,get:function(){return n.catchClause}}),Object.defineProperty(t,\\\"ConditionalExpression\\\",{enumerable:!0,get:function(){return n.conditionalExpression}}),Object.defineProperty(t,\\\"ContinueStatement\\\",{enumerable:!0,get:function(){return n.continueStatement}}),Object.defineProperty(t,\\\"DebuggerStatement\\\",{enumerable:!0,get:function(){return n.debuggerStatement}}),Object.defineProperty(t,\\\"DoWhileStatement\\\",{enumerable:!0,get:function(){return n.doWhileStatement}}),Object.defineProperty(t,\\\"EmptyStatement\\\",{enumerable:!0,get:function(){return n.emptyStatement}}),Object.defineProperty(t,\\\"ExpressionStatement\\\",{enumerable:!0,get:function(){return n.expressionStatement}}),Object.defineProperty(t,\\\"File\\\",{enumerable:!0,get:function(){return n.file}}),Object.defineProperty(t,\\\"ForInStatement\\\",{enumerable:!0,get:function(){return n.forInStatement}}),Object.defineProperty(t,\\\"ForStatement\\\",{enumerable:!0,get:function(){return n.forStatement}}),Object.defineProperty(t,\\\"FunctionDeclaration\\\",{enumerable:!0,get:function(){return n.functionDeclaration}}),Object.defineProperty(t,\\\"FunctionExpression\\\",{enumerable:!0,get:function(){return n.functionExpression}}),Object.defineProperty(t,\\\"Identifier\\\",{enumerable:!0,get:function(){return n.identifier}}),Object.defineProperty(t,\\\"IfStatement\\\",{enumerable:!0,get:function(){return n.ifStatement}}),Object.defineProperty(t,\\\"LabeledStatement\\\",{enumerable:!0,get:function(){return n.labeledStatement}}),Object.defineProperty(t,\\\"StringLiteral\\\",{enumerable:!0,get:function(){return n.stringLiteral}}),Object.defineProperty(t,\\\"NumericLiteral\\\",{enumerable:!0,get:function(){return n.numericLiteral}}),Object.defineProperty(t,\\\"NullLiteral\\\",{enumerable:!0,get:function(){return n.nullLiteral}}),Object.defineProperty(t,\\\"BooleanLiteral\\\",{enumerable:!0,get:function(){return n.booleanLiteral}}),Object.defineProperty(t,\\\"RegExpLiteral\\\",{enumerable:!0,get:function(){return n.regExpLiteral}}),Object.defineProperty(t,\\\"LogicalExpression\\\",{enumerable:!0,get:function(){return n.logicalExpression}}),Object.defineProperty(t,\\\"MemberExpression\\\",{enumerable:!0,get:function(){return n.memberExpression}}),Object.defineProperty(t,\\\"NewExpression\\\",{enumerable:!0,get:function(){return n.newExpression}}),Object.defineProperty(t,\\\"Program\\\",{enumerable:!0,get:function(){return n.program}}),Object.defineProperty(t,\\\"ObjectExpression\\\",{enumerable:!0,get:function(){return n.objectExpression}}),Object.defineProperty(t,\\\"ObjectMethod\\\",{enumerable:!0,get:function(){return n.objectMethod}}),Object.defineProperty(t,\\\"ObjectProperty\\\",{enumerable:!0,get:function(){return n.objectProperty}}),Object.defineProperty(t,\\\"RestElement\\\",{enumerable:!0,get:function(){return n.restElement}}),Object.defineProperty(t,\\\"ReturnStatement\\\",{enumerable:!0,get:function(){return n.returnStatement}}),Object.defineProperty(t,\\\"SequenceExpression\\\",{enumerable:!0,get:function(){return n.sequenceExpression}}),Object.defineProperty(t,\\\"ParenthesizedExpression\\\",{enumerable:!0,get:function(){return n.parenthesizedExpression}}),Object.defineProperty(t,\\\"SwitchCase\\\",{enumerable:!0,get:function(){return n.switchCase}}),Object.defineProperty(t,\\\"SwitchStatement\\\",{enumerable:!0,get:function(){return n.switchStatement}}),Object.defineProperty(t,\\\"ThisExpression\\\",{enumerable:!0,get:function(){return n.thisExpression}}),Object.defineProperty(t,\\\"ThrowStatement\\\",{enumerable:!0,get:function(){return n.throwStatement}}),Object.defineProperty(t,\\\"TryStatement\\\",{enumerable:!0,get:function(){return n.tryStatement}}),Object.defineProperty(t,\\\"UnaryExpression\\\",{enumerable:!0,get:function(){return n.unaryExpression}}),Object.defineProperty(t,\\\"UpdateExpression\\\",{enumerable:!0,get:function(){return n.updateExpression}}),Object.defineProperty(t,\\\"VariableDeclaration\\\",{enumerable:!0,get:function(){return n.variableDeclaration}}),Object.defineProperty(t,\\\"VariableDeclarator\\\",{enumerable:!0,get:function(){return n.variableDeclarator}}),Object.defineProperty(t,\\\"WhileStatement\\\",{enumerable:!0,get:function(){return n.whileStatement}}),Object.defineProperty(t,\\\"WithStatement\\\",{enumerable:!0,get:function(){return n.withStatement}}),Object.defineProperty(t,\\\"AssignmentPattern\\\",{enumerable:!0,get:function(){return n.assignmentPattern}}),Object.defineProperty(t,\\\"ArrayPattern\\\",{enumerable:!0,get:function(){return n.arrayPattern}}),Object.defineProperty(t,\\\"ArrowFunctionExpression\\\",{enumerable:!0,get:function(){return n.arrowFunctionExpression}}),Object.defineProperty(t,\\\"ClassBody\\\",{enumerable:!0,get:function(){return n.classBody}}),Object.defineProperty(t,\\\"ClassExpression\\\",{enumerable:!0,get:function(){return n.classExpression}}),Object.defineProperty(t,\\\"ClassDeclaration\\\",{enumerable:!0,get:function(){return n.classDeclaration}}),Object.defineProperty(t,\\\"ExportAllDeclaration\\\",{enumerable:!0,get:function(){return n.exportAllDeclaration}}),Object.defineProperty(t,\\\"ExportDefaultDeclaration\\\",{enumerable:!0,get:function(){return n.exportDefaultDeclaration}}),Object.defineProperty(t,\\\"ExportNamedDeclaration\\\",{enumerable:!0,get:function(){return n.exportNamedDeclaration}}),Object.defineProperty(t,\\\"ExportSpecifier\\\",{enumerable:!0,get:function(){return n.exportSpecifier}}),Object.defineProperty(t,\\\"ForOfStatement\\\",{enumerable:!0,get:function(){return n.forOfStatement}}),Object.defineProperty(t,\\\"ImportDeclaration\\\",{enumerable:!0,get:function(){return n.importDeclaration}}),Object.defineProperty(t,\\\"ImportDefaultSpecifier\\\",{enumerable:!0,get:function(){return n.importDefaultSpecifier}}),Object.defineProperty(t,\\\"ImportNamespaceSpecifier\\\",{enumerable:!0,get:function(){return n.importNamespaceSpecifier}}),Object.defineProperty(t,\\\"ImportSpecifier\\\",{enumerable:!0,get:function(){return n.importSpecifier}}),Object.defineProperty(t,\\\"MetaProperty\\\",{enumerable:!0,get:function(){return n.metaProperty}}),Object.defineProperty(t,\\\"ClassMethod\\\",{enumerable:!0,get:function(){return n.classMethod}}),Object.defineProperty(t,\\\"ObjectPattern\\\",{enumerable:!0,get:function(){return n.objectPattern}}),Object.defineProperty(t,\\\"SpreadElement\\\",{enumerable:!0,get:function(){return n.spreadElement}}),Object.defineProperty(t,\\\"Super\\\",{enumerable:!0,get:function(){return n.super}}),Object.defineProperty(t,\\\"TaggedTemplateExpression\\\",{enumerable:!0,get:function(){return n.taggedTemplateExpression}}),Object.defineProperty(t,\\\"TemplateElement\\\",{enumerable:!0,get:function(){return n.templateElement}}),Object.defineProperty(t,\\\"TemplateLiteral\\\",{enumerable:!0,get:function(){return n.templateLiteral}}),Object.defineProperty(t,\\\"YieldExpression\\\",{enumerable:!0,get:function(){return n.yieldExpression}}),Object.defineProperty(t,\\\"AwaitExpression\\\",{enumerable:!0,get:function(){return n.awaitExpression}}),Object.defineProperty(t,\\\"Import\\\",{enumerable:!0,get:function(){return n.import}}),Object.defineProperty(t,\\\"BigIntLiteral\\\",{enumerable:!0,get:function(){return n.bigIntLiteral}}),Object.defineProperty(t,\\\"ExportNamespaceSpecifier\\\",{enumerable:!0,get:function(){return n.exportNamespaceSpecifier}}),Object.defineProperty(t,\\\"OptionalMemberExpression\\\",{enumerable:!0,get:function(){return n.optionalMemberExpression}}),Object.defineProperty(t,\\\"OptionalCallExpression\\\",{enumerable:!0,get:function(){return n.optionalCallExpression}}),Object.defineProperty(t,\\\"AnyTypeAnnotation\\\",{enumerable:!0,get:function(){return n.anyTypeAnnotation}}),Object.defineProperty(t,\\\"ArrayTypeAnnotation\\\",{enumerable:!0,get:function(){return n.arrayTypeAnnotation}}),Object.defineProperty(t,\\\"BooleanTypeAnnotation\\\",{enumerable:!0,get:function(){return n.booleanTypeAnnotation}}),Object.defineProperty(t,\\\"BooleanLiteralTypeAnnotation\\\",{enumerable:!0,get:function(){return n.booleanLiteralTypeAnnotation}}),Object.defineProperty(t,\\\"NullLiteralTypeAnnotation\\\",{enumerable:!0,get:function(){return n.nullLiteralTypeAnnotation}}),Object.defineProperty(t,\\\"ClassImplements\\\",{enumerable:!0,get:function(){return n.classImplements}}),Object.defineProperty(t,\\\"DeclareClass\\\",{enumerable:!0,get:function(){return n.declareClass}}),Object.defineProperty(t,\\\"DeclareFunction\\\",{enumerable:!0,get:function(){return n.declareFunction}}),Object.defineProperty(t,\\\"DeclareInterface\\\",{enumerable:!0,get:function(){return n.declareInterface}}),Object.defineProperty(t,\\\"DeclareModule\\\",{enumerable:!0,get:function(){return n.declareModule}}),Object.defineProperty(t,\\\"DeclareModuleExports\\\",{enumerable:!0,get:function(){return n.declareModuleExports}}),Object.defineProperty(t,\\\"DeclareTypeAlias\\\",{enumerable:!0,get:function(){return n.declareTypeAlias}}),Object.defineProperty(t,\\\"DeclareOpaqueType\\\",{enumerable:!0,get:function(){return n.declareOpaqueType}}),Object.defineProperty(t,\\\"DeclareVariable\\\",{enumerable:!0,get:function(){return n.declareVariable}}),Object.defineProperty(t,\\\"DeclareExportDeclaration\\\",{enumerable:!0,get:function(){return n.declareExportDeclaration}}),Object.defineProperty(t,\\\"DeclareExportAllDeclaration\\\",{enumerable:!0,get:function(){return n.declareExportAllDeclaration}}),Object.defineProperty(t,\\\"DeclaredPredicate\\\",{enumerable:!0,get:function(){return n.declaredPredicate}}),Object.defineProperty(t,\\\"ExistsTypeAnnotation\\\",{enumerable:!0,get:function(){return n.existsTypeAnnotation}}),Object.defineProperty(t,\\\"FunctionTypeAnnotation\\\",{enumerable:!0,get:function(){return n.functionTypeAnnotation}}),Object.defineProperty(t,\\\"FunctionTypeParam\\\",{enumerable:!0,get:function(){return n.functionTypeParam}}),Object.defineProperty(t,\\\"GenericTypeAnnotation\\\",{enumerable:!0,get:function(){return n.genericTypeAnnotation}}),Object.defineProperty(t,\\\"InferredPredicate\\\",{enumerable:!0,get:function(){return n.inferredPredicate}}),Object.defineProperty(t,\\\"InterfaceExtends\\\",{enumerable:!0,get:function(){return n.interfaceExtends}}),Object.defineProperty(t,\\\"InterfaceDeclaration\\\",{enumerable:!0,get:function(){return n.interfaceDeclaration}}),Object.defineProperty(t,\\\"InterfaceTypeAnnotation\\\",{enumerable:!0,get:function(){return n.interfaceTypeAnnotation}}),Object.defineProperty(t,\\\"IntersectionTypeAnnotation\\\",{enumerable:!0,get:function(){return n.intersectionTypeAnnotation}}),Object.defineProperty(t,\\\"MixedTypeAnnotation\\\",{enumerable:!0,get:function(){return n.mixedTypeAnnotation}}),Object.defineProperty(t,\\\"EmptyTypeAnnotation\\\",{enumerable:!0,get:function(){return n.emptyTypeAnnotation}}),Object.defineProperty(t,\\\"NullableTypeAnnotation\\\",{enumerable:!0,get:function(){return n.nullableTypeAnnotation}}),Object.defineProperty(t,\\\"NumberLiteralTypeAnnotation\\\",{enumerable:!0,get:function(){return n.numberLiteralTypeAnnotation}}),Object.defineProperty(t,\\\"NumberTypeAnnotation\\\",{enumerable:!0,get:function(){return n.numberTypeAnnotation}}),Object.defineProperty(t,\\\"ObjectTypeAnnotation\\\",{enumerable:!0,get:function(){return n.objectTypeAnnotation}}),Object.defineProperty(t,\\\"ObjectTypeInternalSlot\\\",{enumerable:!0,get:function(){return n.objectTypeInternalSlot}}),Object.defineProperty(t,\\\"ObjectTypeCallProperty\\\",{enumerable:!0,get:function(){return n.objectTypeCallProperty}}),Object.defineProperty(t,\\\"ObjectTypeIndexer\\\",{enumerable:!0,get:function(){return n.objectTypeIndexer}}),Object.defineProperty(t,\\\"ObjectTypeProperty\\\",{enumerable:!0,get:function(){return n.objectTypeProperty}}),Object.defineProperty(t,\\\"ObjectTypeSpreadProperty\\\",{enumerable:!0,get:function(){return n.objectTypeSpreadProperty}}),Object.defineProperty(t,\\\"OpaqueType\\\",{enumerable:!0,get:function(){return n.opaqueType}}),Object.defineProperty(t,\\\"QualifiedTypeIdentifier\\\",{enumerable:!0,get:function(){return n.qualifiedTypeIdentifier}}),Object.defineProperty(t,\\\"StringLiteralTypeAnnotation\\\",{enumerable:!0,get:function(){return n.stringLiteralTypeAnnotation}}),Object.defineProperty(t,\\\"StringTypeAnnotation\\\",{enumerable:!0,get:function(){return n.stringTypeAnnotation}}),Object.defineProperty(t,\\\"SymbolTypeAnnotation\\\",{enumerable:!0,get:function(){return n.symbolTypeAnnotation}}),Object.defineProperty(t,\\\"ThisTypeAnnotation\\\",{enumerable:!0,get:function(){return n.thisTypeAnnotation}}),Object.defineProperty(t,\\\"TupleTypeAnnotation\\\",{enumerable:!0,get:function(){return n.tupleTypeAnnotation}}),Object.defineProperty(t,\\\"TypeofTypeAnnotation\\\",{enumerable:!0,get:function(){return n.typeofTypeAnnotation}}),Object.defineProperty(t,\\\"TypeAlias\\\",{enumerable:!0,get:function(){return n.typeAlias}}),Object.defineProperty(t,\\\"TypeAnnotation\\\",{enumerable:!0,get:function(){return n.typeAnnotation}}),Object.defineProperty(t,\\\"TypeCastExpression\\\",{enumerable:!0,get:function(){return n.typeCastExpression}}),Object.defineProperty(t,\\\"TypeParameter\\\",{enumerable:!0,get:function(){return n.typeParameter}}),Object.defineProperty(t,\\\"TypeParameterDeclaration\\\",{enumerable:!0,get:function(){return n.typeParameterDeclaration}}),Object.defineProperty(t,\\\"TypeParameterInstantiation\\\",{enumerable:!0,get:function(){return n.typeParameterInstantiation}}),Object.defineProperty(t,\\\"UnionTypeAnnotation\\\",{enumerable:!0,get:function(){return n.unionTypeAnnotation}}),Object.defineProperty(t,\\\"Variance\\\",{enumerable:!0,get:function(){return n.variance}}),Object.defineProperty(t,\\\"VoidTypeAnnotation\\\",{enumerable:!0,get:function(){return n.voidTypeAnnotation}}),Object.defineProperty(t,\\\"EnumDeclaration\\\",{enumerable:!0,get:function(){return n.enumDeclaration}}),Object.defineProperty(t,\\\"EnumBooleanBody\\\",{enumerable:!0,get:function(){return n.enumBooleanBody}}),Object.defineProperty(t,\\\"EnumNumberBody\\\",{enumerable:!0,get:function(){return n.enumNumberBody}}),Object.defineProperty(t,\\\"EnumStringBody\\\",{enumerable:!0,get:function(){return n.enumStringBody}}),Object.defineProperty(t,\\\"EnumSymbolBody\\\",{enumerable:!0,get:function(){return n.enumSymbolBody}}),Object.defineProperty(t,\\\"EnumBooleanMember\\\",{enumerable:!0,get:function(){return n.enumBooleanMember}}),Object.defineProperty(t,\\\"EnumNumberMember\\\",{enumerable:!0,get:function(){return n.enumNumberMember}}),Object.defineProperty(t,\\\"EnumStringMember\\\",{enumerable:!0,get:function(){return n.enumStringMember}}),Object.defineProperty(t,\\\"EnumDefaultedMember\\\",{enumerable:!0,get:function(){return n.enumDefaultedMember}}),Object.defineProperty(t,\\\"IndexedAccessType\\\",{enumerable:!0,get:function(){return n.indexedAccessType}}),Object.defineProperty(t,\\\"OptionalIndexedAccessType\\\",{enumerable:!0,get:function(){return n.optionalIndexedAccessType}}),Object.defineProperty(t,\\\"JSXAttribute\\\",{enumerable:!0,get:function(){return n.jsxAttribute}}),Object.defineProperty(t,\\\"JSXClosingElement\\\",{enumerable:!0,get:function(){return n.jsxClosingElement}}),Object.defineProperty(t,\\\"JSXElement\\\",{enumerable:!0,get:function(){return n.jsxElement}}),Object.defineProperty(t,\\\"JSXEmptyExpression\\\",{enumerable:!0,get:function(){return n.jsxEmptyExpression}}),Object.defineProperty(t,\\\"JSXExpressionContainer\\\",{enumerable:!0,get:function(){return n.jsxExpressionContainer}}),Object.defineProperty(t,\\\"JSXSpreadChild\\\",{enumerable:!0,get:function(){return n.jsxSpreadChild}}),Object.defineProperty(t,\\\"JSXIdentifier\\\",{enumerable:!0,get:function(){return n.jsxIdentifier}}),Object.defineProperty(t,\\\"JSXMemberExpression\\\",{enumerable:!0,get:function(){return n.jsxMemberExpression}}),Object.defineProperty(t,\\\"JSXNamespacedName\\\",{enumerable:!0,get:function(){return n.jsxNamespacedName}}),Object.defineProperty(t,\\\"JSXOpeningElement\\\",{enumerable:!0,get:function(){return n.jsxOpeningElement}}),Object.defineProperty(t,\\\"JSXSpreadAttribute\\\",{enumerable:!0,get:function(){return n.jsxSpreadAttribute}}),Object.defineProperty(t,\\\"JSXText\\\",{enumerable:!0,get:function(){return n.jsxText}}),Object.defineProperty(t,\\\"JSXFragment\\\",{enumerable:!0,get:function(){return n.jsxFragment}}),Object.defineProperty(t,\\\"JSXOpeningFragment\\\",{enumerable:!0,get:function(){return n.jsxOpeningFragment}}),Object.defineProperty(t,\\\"JSXClosingFragment\\\",{enumerable:!0,get:function(){return n.jsxClosingFragment}}),Object.defineProperty(t,\\\"Noop\\\",{enumerable:!0,get:function(){return n.noop}}),Object.defineProperty(t,\\\"Placeholder\\\",{enumerable:!0,get:function(){return n.placeholder}}),Object.defineProperty(t,\\\"V8IntrinsicIdentifier\\\",{enumerable:!0,get:function(){return n.v8IntrinsicIdentifier}}),Object.defineProperty(t,\\\"ArgumentPlaceholder\\\",{enumerable:!0,get:function(){return n.argumentPlaceholder}}),Object.defineProperty(t,\\\"BindExpression\\\",{enumerable:!0,get:function(){return n.bindExpression}}),Object.defineProperty(t,\\\"ClassProperty\\\",{enumerable:!0,get:function(){return n.classProperty}}),Object.defineProperty(t,\\\"PipelineTopicExpression\\\",{enumerable:!0,get:function(){return n.pipelineTopicExpression}}),Object.defineProperty(t,\\\"PipelineBareFunction\\\",{enumerable:!0,get:function(){return n.pipelineBareFunction}}),Object.defineProperty(t,\\\"PipelinePrimaryTopicReference\\\",{enumerable:!0,get:function(){return n.pipelinePrimaryTopicReference}}),Object.defineProperty(t,\\\"ClassPrivateProperty\\\",{enumerable:!0,get:function(){return n.classPrivateProperty}}),Object.defineProperty(t,\\\"ClassPrivateMethod\\\",{enumerable:!0,get:function(){return n.classPrivateMethod}}),Object.defineProperty(t,\\\"ImportAttribute\\\",{enumerable:!0,get:function(){return n.importAttribute}}),Object.defineProperty(t,\\\"Decorator\\\",{enumerable:!0,get:function(){return n.decorator}}),Object.defineProperty(t,\\\"DoExpression\\\",{enumerable:!0,get:function(){return n.doExpression}}),Object.defineProperty(t,\\\"ExportDefaultSpecifier\\\",{enumerable:!0,get:function(){return n.exportDefaultSpecifier}}),Object.defineProperty(t,\\\"PrivateName\\\",{enumerable:!0,get:function(){return n.privateName}}),Object.defineProperty(t,\\\"RecordExpression\\\",{enumerable:!0,get:function(){return n.recordExpression}}),Object.defineProperty(t,\\\"TupleExpression\\\",{enumerable:!0,get:function(){return n.tupleExpression}}),Object.defineProperty(t,\\\"DecimalLiteral\\\",{enumerable:!0,get:function(){return n.decimalLiteral}}),Object.defineProperty(t,\\\"StaticBlock\\\",{enumerable:!0,get:function(){return n.staticBlock}}),Object.defineProperty(t,\\\"ModuleExpression\\\",{enumerable:!0,get:function(){return n.moduleExpression}}),Object.defineProperty(t,\\\"TSParameterProperty\\\",{enumerable:!0,get:function(){return n.tsParameterProperty}}),Object.defineProperty(t,\\\"TSDeclareFunction\\\",{enumerable:!0,get:function(){return n.tsDeclareFunction}}),Object.defineProperty(t,\\\"TSDeclareMethod\\\",{enumerable:!0,get:function(){return n.tsDeclareMethod}}),Object.defineProperty(t,\\\"TSQualifiedName\\\",{enumerable:!0,get:function(){return n.tsQualifiedName}}),Object.defineProperty(t,\\\"TSCallSignatureDeclaration\\\",{enumerable:!0,get:function(){return n.tsCallSignatureDeclaration}}),Object.defineProperty(t,\\\"TSConstructSignatureDeclaration\\\",{enumerable:!0,get:function(){return n.tsConstructSignatureDeclaration}}),Object.defineProperty(t,\\\"TSPropertySignature\\\",{enumerable:!0,get:function(){return n.tsPropertySignature}}),Object.defineProperty(t,\\\"TSMethodSignature\\\",{enumerable:!0,get:function(){return n.tsMethodSignature}}),Object.defineProperty(t,\\\"TSIndexSignature\\\",{enumerable:!0,get:function(){return n.tsIndexSignature}}),Object.defineProperty(t,\\\"TSAnyKeyword\\\",{enumerable:!0,get:function(){return n.tsAnyKeyword}}),Object.defineProperty(t,\\\"TSBooleanKeyword\\\",{enumerable:!0,get:function(){return n.tsBooleanKeyword}}),Object.defineProperty(t,\\\"TSBigIntKeyword\\\",{enumerable:!0,get:function(){return n.tsBigIntKeyword}}),Object.defineProperty(t,\\\"TSIntrinsicKeyword\\\",{enumerable:!0,get:function(){return n.tsIntrinsicKeyword}}),Object.defineProperty(t,\\\"TSNeverKeyword\\\",{enumerable:!0,get:function(){return n.tsNeverKeyword}}),Object.defineProperty(t,\\\"TSNullKeyword\\\",{enumerable:!0,get:function(){return n.tsNullKeyword}}),Object.defineProperty(t,\\\"TSNumberKeyword\\\",{enumerable:!0,get:function(){return n.tsNumberKeyword}}),Object.defineProperty(t,\\\"TSObjectKeyword\\\",{enumerable:!0,get:function(){return n.tsObjectKeyword}}),Object.defineProperty(t,\\\"TSStringKeyword\\\",{enumerable:!0,get:function(){return n.tsStringKeyword}}),Object.defineProperty(t,\\\"TSSymbolKeyword\\\",{enumerable:!0,get:function(){return n.tsSymbolKeyword}}),Object.defineProperty(t,\\\"TSUndefinedKeyword\\\",{enumerable:!0,get:function(){return n.tsUndefinedKeyword}}),Object.defineProperty(t,\\\"TSUnknownKeyword\\\",{enumerable:!0,get:function(){return n.tsUnknownKeyword}}),Object.defineProperty(t,\\\"TSVoidKeyword\\\",{enumerable:!0,get:function(){return n.tsVoidKeyword}}),Object.defineProperty(t,\\\"TSThisType\\\",{enumerable:!0,get:function(){return n.tsThisType}}),Object.defineProperty(t,\\\"TSFunctionType\\\",{enumerable:!0,get:function(){return n.tsFunctionType}}),Object.defineProperty(t,\\\"TSConstructorType\\\",{enumerable:!0,get:function(){return n.tsConstructorType}}),Object.defineProperty(t,\\\"TSTypeReference\\\",{enumerable:!0,get:function(){return n.tsTypeReference}}),Object.defineProperty(t,\\\"TSTypePredicate\\\",{enumerable:!0,get:function(){return n.tsTypePredicate}}),Object.defineProperty(t,\\\"TSTypeQuery\\\",{enumerable:!0,get:function(){return n.tsTypeQuery}}),Object.defineProperty(t,\\\"TSTypeLiteral\\\",{enumerable:!0,get:function(){return n.tsTypeLiteral}}),Object.defineProperty(t,\\\"TSArrayType\\\",{enumerable:!0,get:function(){return n.tsArrayType}}),Object.defineProperty(t,\\\"TSTupleType\\\",{enumerable:!0,get:function(){return n.tsTupleType}}),Object.defineProperty(t,\\\"TSOptionalType\\\",{enumerable:!0,get:function(){return n.tsOptionalType}}),Object.defineProperty(t,\\\"TSRestType\\\",{enumerable:!0,get:function(){return n.tsRestType}}),Object.defineProperty(t,\\\"TSNamedTupleMember\\\",{enumerable:!0,get:function(){return n.tsNamedTupleMember}}),Object.defineProperty(t,\\\"TSUnionType\\\",{enumerable:!0,get:function(){return n.tsUnionType}}),Object.defineProperty(t,\\\"TSIntersectionType\\\",{enumerable:!0,get:function(){return n.tsIntersectionType}}),Object.defineProperty(t,\\\"TSConditionalType\\\",{enumerable:!0,get:function(){return n.tsConditionalType}}),Object.defineProperty(t,\\\"TSInferType\\\",{enumerable:!0,get:function(){return n.tsInferType}}),Object.defineProperty(t,\\\"TSParenthesizedType\\\",{enumerable:!0,get:function(){return n.tsParenthesizedType}}),Object.defineProperty(t,\\\"TSTypeOperator\\\",{enumerable:!0,get:function(){return n.tsTypeOperator}}),Object.defineProperty(t,\\\"TSIndexedAccessType\\\",{enumerable:!0,get:function(){return n.tsIndexedAccessType}}),Object.defineProperty(t,\\\"TSMappedType\\\",{enumerable:!0,get:function(){return n.tsMappedType}}),Object.defineProperty(t,\\\"TSLiteralType\\\",{enumerable:!0,get:function(){return n.tsLiteralType}}),Object.defineProperty(t,\\\"TSExpressionWithTypeArguments\\\",{enumerable:!0,get:function(){return n.tsExpressionWithTypeArguments}}),Object.defineProperty(t,\\\"TSInterfaceDeclaration\\\",{enumerable:!0,get:function(){return n.tsInterfaceDeclaration}}),Object.defineProperty(t,\\\"TSInterfaceBody\\\",{enumerable:!0,get:function(){return n.tsInterfaceBody}}),Object.defineProperty(t,\\\"TSTypeAliasDeclaration\\\",{enumerable:!0,get:function(){return n.tsTypeAliasDeclaration}}),Object.defineProperty(t,\\\"TSAsExpression\\\",{enumerable:!0,get:function(){return n.tsAsExpression}}),Object.defineProperty(t,\\\"TSTypeAssertion\\\",{enumerable:!0,get:function(){return n.tsTypeAssertion}}),Object.defineProperty(t,\\\"TSEnumDeclaration\\\",{enumerable:!0,get:function(){return n.tsEnumDeclaration}}),Object.defineProperty(t,\\\"TSEnumMember\\\",{enumerable:!0,get:function(){return n.tsEnumMember}}),Object.defineProperty(t,\\\"TSModuleDeclaration\\\",{enumerable:!0,get:function(){return n.tsModuleDeclaration}}),Object.defineProperty(t,\\\"TSModuleBlock\\\",{enumerable:!0,get:function(){return n.tsModuleBlock}}),Object.defineProperty(t,\\\"TSImportType\\\",{enumerable:!0,get:function(){return n.tsImportType}}),Object.defineProperty(t,\\\"TSImportEqualsDeclaration\\\",{enumerable:!0,get:function(){return n.tsImportEqualsDeclaration}}),Object.defineProperty(t,\\\"TSExternalModuleReference\\\",{enumerable:!0,get:function(){return n.tsExternalModuleReference}}),Object.defineProperty(t,\\\"TSNonNullExpression\\\",{enumerable:!0,get:function(){return n.tsNonNullExpression}}),Object.defineProperty(t,\\\"TSExportAssignment\\\",{enumerable:!0,get:function(){return n.tsExportAssignment}}),Object.defineProperty(t,\\\"TSNamespaceExportDeclaration\\\",{enumerable:!0,get:function(){return n.tsNamespaceExportDeclaration}}),Object.defineProperty(t,\\\"TSTypeAnnotation\\\",{enumerable:!0,get:function(){return n.tsTypeAnnotation}}),Object.defineProperty(t,\\\"TSTypeParameterInstantiation\\\",{enumerable:!0,get:function(){return n.tsTypeParameterInstantiation}}),Object.defineProperty(t,\\\"TSTypeParameterDeclaration\\\",{enumerable:!0,get:function(){return n.tsTypeParameterDeclaration}}),Object.defineProperty(t,\\\"TSTypeParameter\\\",{enumerable:!0,get:function(){return n.tsTypeParameter}}),Object.defineProperty(t,\\\"NumberLiteral\\\",{enumerable:!0,get:function(){return n.numberLiteral}}),Object.defineProperty(t,\\\"RegexLiteral\\\",{enumerable:!0,get:function(){return n.regexLiteral}}),Object.defineProperty(t,\\\"RestProperty\\\",{enumerable:!0,get:function(){return n.restProperty}}),Object.defineProperty(t,\\\"SpreadProperty\\\",{enumerable:!0,get:function(){return n.spreadProperty}});var n=r(1580)},478:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){const t=[];for(let r=0;r{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){const t=e.map((e=>e.typeAnnotation)),r=(0,i.default)(t);return 1===r.length?r[0]:(0,n.tsUnionType)(r)};var n=r(1580),i=r(7921)},7307:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){return(0,n.default)(e,!1)};var n=r(5833)},175:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){return(0,n.default)(e)};var n=r(5833)},4982:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){return(0,n.default)(e,!0,!0)};var n=r(5833)},5833:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=l;var n=r(1102),i=r(3924);const s=Function.call.bind(Object.prototype.hasOwnProperty);function a(e,t,r){return e&&\\\"string\\\"==typeof e.type?l(e,t,r):e}function o(e,t,r){return Array.isArray(e)?e.map((e=>a(e,t,r))):a(e,t,r)}function l(e,t=!0,r=!1){if(!e)return e;const{type:a}=e,l={type:e.type};if((0,i.isIdentifier)(e))l.name=e.name,s(e,\\\"optional\\\")&&\\\"boolean\\\"==typeof e.optional&&(l.optional=e.optional),s(e,\\\"typeAnnotation\\\")&&(l.typeAnnotation=t?o(e.typeAnnotation,!0,r):e.typeAnnotation);else{if(!s(n.NODE_FIELDS,a))throw new Error(`Unknown node type: \\\"${a}\\\"`);for(const c of Object.keys(n.NODE_FIELDS[a]))s(e,c)&&(l[c]=t?(0,i.isFile)(e)&&\\\"comments\\\"===c?p(e.comments,t,r):o(e[c],!0,r):e[c])}return s(e,\\\"loc\\\")&&(l.loc=r?null:e.loc),s(e,\\\"leadingComments\\\")&&(l.leadingComments=p(e.leadingComments,t,r)),s(e,\\\"innerComments\\\")&&(l.innerComments=p(e.innerComments,t,r)),s(e,\\\"trailingComments\\\")&&(l.trailingComments=p(e.trailingComments,t,r)),s(e,\\\"extra\\\")&&(l.extra=Object.assign({},e.extra)),l}function p(e,t,r){return e&&t?e.map((({type:e,value:t,loc:n})=>r?{type:e,value:t,loc:null}:{type:e,value:t,loc:n})):e}},8743:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){return(0,n.default)(e,!1,!0)};var n=r(5833)},6517:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t,r,i){return(0,n.default)(e,t,[{type:i?\\\"CommentLine\\\":\\\"CommentBlock\\\",value:r}])};var n=r(8290)},8290:(e,t)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;return e[n]?e[n]=\\\"leading\\\"===t?r.concat(e[n]):e[n].concat(r):e[n]=r,e}},8267:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t){(0,n.default)(\\\"innerComments\\\",e,t)};var n=r(3746)},4510:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t){(0,n.default)(\\\"leadingComments\\\",e,t)};var n=r(3746)},5042:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t){(0,n.default)(\\\"trailingComments\\\",e,t)};var n=r(3746)},5644:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t){return(0,n.default)(e,t),(0,i.default)(e,t),(0,s.default)(e,t),e};var n=r(5042),i=r(4510),s=r(8267)},6528:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){return n.COMMENT_KEYS.forEach((t=>{e[t]=null})),e};var n=r(2770)},55:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(1102);const i=n.FLIPPED_ALIAS_KEYS.Expression;t.EXPRESSION_TYPES=i;const s=n.FLIPPED_ALIAS_KEYS.Binary;t.BINARY_TYPES=s;const a=n.FLIPPED_ALIAS_KEYS.Scopable;t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS.BlockParent;t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS.Block;t.BLOCK_TYPES=l;const p=n.FLIPPED_ALIAS_KEYS.Statement;t.STATEMENT_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS.Terminatorless;t.TERMINATORLESS_TYPES=c;const u=n.FLIPPED_ALIAS_KEYS.CompletionStatement;t.COMPLETIONSTATEMENT_TYPES=u;const d=n.FLIPPED_ALIAS_KEYS.Conditional;t.CONDITIONAL_TYPES=d;const h=n.FLIPPED_ALIAS_KEYS.Loop;t.LOOP_TYPES=h;const f=n.FLIPPED_ALIAS_KEYS.While;t.WHILE_TYPES=f;const m=n.FLIPPED_ALIAS_KEYS.ExpressionWrapper;t.EXPRESSIONWRAPPER_TYPES=m;const y=n.FLIPPED_ALIAS_KEYS.For;t.FOR_TYPES=y;const T=n.FLIPPED_ALIAS_KEYS.ForXStatement;t.FORXSTATEMENT_TYPES=T;const b=n.FLIPPED_ALIAS_KEYS.Function;t.FUNCTION_TYPES=b;const g=n.FLIPPED_ALIAS_KEYS.FunctionParent;t.FUNCTIONPARENT_TYPES=g;const S=n.FLIPPED_ALIAS_KEYS.Pureish;t.PUREISH_TYPES=S;const x=n.FLIPPED_ALIAS_KEYS.Declaration;t.DECLARATION_TYPES=x;const E=n.FLIPPED_ALIAS_KEYS.PatternLike;t.PATTERNLIKE_TYPES=E;const P=n.FLIPPED_ALIAS_KEYS.LVal;t.LVAL_TYPES=P;const v=n.FLIPPED_ALIAS_KEYS.TSEntityName;t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS.Literal;t.LITERAL_TYPES=A;const w=n.FLIPPED_ALIAS_KEYS.Immutable;t.IMMUTABLE_TYPES=w;const O=n.FLIPPED_ALIAS_KEYS.UserWhitespacable;t.USERWHITESPACABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS.Method;t.METHOD_TYPES=I;const N=n.FLIPPED_ALIAS_KEYS.ObjectMember;t.OBJECTMEMBER_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS.Property;t.PROPERTY_TYPES=C;const k=n.FLIPPED_ALIAS_KEYS.UnaryLike;t.UNARYLIKE_TYPES=k;const D=n.FLIPPED_ALIAS_KEYS.Pattern;t.PATTERN_TYPES=D;const _=n.FLIPPED_ALIAS_KEYS.Class;t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS.ModuleDeclaration;t.MODULEDECLARATION_TYPES=L;const M=n.FLIPPED_ALIAS_KEYS.ExportDeclaration;t.EXPORTDECLARATION_TYPES=M;const j=n.FLIPPED_ALIAS_KEYS.ModuleSpecifier;t.MODULESPECIFIER_TYPES=j;const F=n.FLIPPED_ALIAS_KEYS.Flow;t.FLOW_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS.FlowType;t.FLOWTYPE_TYPES=B;const R=n.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation;t.FLOWBASEANNOTATION_TYPES=R;const U=n.FLIPPED_ALIAS_KEYS.FlowDeclaration;t.FLOWDECLARATION_TYPES=U;const V=n.FLIPPED_ALIAS_KEYS.FlowPredicate;t.FLOWPREDICATE_TYPES=V;const K=n.FLIPPED_ALIAS_KEYS.EnumBody;t.ENUMBODY_TYPES=K;const q=n.FLIPPED_ALIAS_KEYS.EnumMember;t.ENUMMEMBER_TYPES=q;const Y=n.FLIPPED_ALIAS_KEYS.JSX;t.JSX_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS.Private;t.PRIVATE_TYPES=W;const X=n.FLIPPED_ALIAS_KEYS.TSTypeElement;t.TSTYPEELEMENT_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS.TSType;t.TSTYPE_TYPES=J;const H=n.FLIPPED_ALIAS_KEYS.TSBaseType;t.TSBASETYPE_TYPES=H},2770:(e,t)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0,t.STATEMENT_OR_BLOCK_KEYS=[\\\"consequent\\\",\\\"body\\\",\\\"alternate\\\"],t.FLATTENABLE_KEYS=[\\\"body\\\",\\\"expressions\\\"],t.FOR_INIT_KEYS=[\\\"left\\\",\\\"init\\\"],t.COMMENT_KEYS=[\\\"leadingComments\\\",\\\"trailingComments\\\",\\\"innerComments\\\"];const r=[\\\"||\\\",\\\"&&\\\",\\\"??\\\"];t.LOGICAL_OPERATORS=r,t.UPDATE_OPERATORS=[\\\"++\\\",\\\"--\\\"];const n=[\\\">\\\",\\\"<\\\",\\\">=\\\",\\\"<=\\\"];t.BOOLEAN_NUMBER_BINARY_OPERATORS=n;const i=[\\\"==\\\",\\\"===\\\",\\\"!=\\\",\\\"!==\\\"];t.EQUALITY_BINARY_OPERATORS=i;const s=[...i,\\\"in\\\",\\\"instanceof\\\"];t.COMPARISON_BINARY_OPERATORS=s;const a=[...s,...n];t.BOOLEAN_BINARY_OPERATORS=a;const o=[\\\"-\\\",\\\"/\\\",\\\"%\\\",\\\"*\\\",\\\"**\\\",\\\"&\\\",\\\"|\\\",\\\">>\\\",\\\">>>\\\",\\\"<<\\\",\\\"^\\\"];t.NUMBER_BINARY_OPERATORS=o;const l=[\\\"+\\\",...o,...a];t.BINARY_OPERATORS=l;const p=[\\\"=\\\",\\\"+=\\\",...o.map((e=>e+\\\"=\\\")),...r.map((e=>e+\\\"=\\\"))];t.ASSIGNMENT_OPERATORS=p;const c=[\\\"delete\\\",\\\"!\\\"];t.BOOLEAN_UNARY_OPERATORS=c;const u=[\\\"+\\\",\\\"-\\\",\\\"~\\\"];t.NUMBER_UNARY_OPERATORS=u;const d=[\\\"typeof\\\"];t.STRING_UNARY_OPERATORS=d;const h=[\\\"void\\\",\\\"throw\\\",...c,...u,...d];t.UNARY_OPERATORS=h,t.INHERIT_KEYS={optional:[\\\"typeAnnotation\\\",\\\"typeParameters\\\",\\\"returnType\\\"],force:[\\\"start\\\",\\\"loc\\\",\\\"end\\\"]};const f=Symbol.for(\\\"var used to be block scoped\\\");t.BLOCK_SCOPED_SYMBOL=f;const m=Symbol.for(\\\"should not be considered a local binding\\\");t.NOT_LOCAL_BINDING=m},9176:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t=\\\"body\\\"){return e[t]=(0,n.default)(e[t],e)};var n=r(2860)},8467:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function e(t,r,o){const l=[];let p=!0;for(const c of t)if((0,i.isEmptyStatement)(c)||(p=!1),(0,i.isExpression)(c))l.push(c);else if((0,i.isExpressionStatement)(c))l.push(c.expression);else if((0,i.isVariableDeclaration)(c)){if(\\\"var\\\"!==c.kind)return;for(const e of c.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t))o.push({kind:c.kind,id:(0,a.default)(t[e])});e.init&&l.push((0,s.assignmentExpression)(\\\"=\\\",e.id,e.init))}p=!0}else if((0,i.isIfStatement)(c)){const t=c.consequent?e([c.consequent],r,o):r.buildUndefinedNode(),n=c.alternate?e([c.alternate],r,o):r.buildUndefinedNode();if(!t||!n)return;l.push((0,s.conditionalExpression)(c.test,t,n))}else if((0,i.isBlockStatement)(c)){const t=e(c.body,r,o);if(!t)return;l.push(t)}else{if(!(0,i.isEmptyStatement)(c))return;0===t.indexOf(c)&&(p=!0)}return p&&l.push(r.buildUndefinedNode()),1===l.length?l[0]:(0,s.sequenceExpression)(l)};var n=r(5337),i=r(3924),s=r(1580),a=r(5833)},7919:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){return\\\"eval\\\"!==(e=(0,n.default)(e))&&\\\"arguments\\\"!==e||(e=\\\"_\\\"+e),e};var n=r(7718)},2860:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t){if((0,n.isBlockStatement)(e))return e;let r=[];return(0,n.isEmptyStatement)(e)?r=[]:((0,n.isStatement)(e)||(e=(0,n.isFunction)(t)?(0,i.returnStatement)(e):(0,i.expressionStatement)(e)),r=[e]),(0,i.blockStatement)(r)};var n=r(3924),i=r(1580)},6e3:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t=e.key||e.property){return!e.computed&&(0,n.isIdentifier)(t)&&(t=(0,i.stringLiteral)(t.name)),t};var n=r(3924),i=r(1580)},836:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=void 0;var n=r(3924);t.default=function(e){if((0,n.isExpressionStatement)(e)&&(e=e.expression),(0,n.isExpression)(e))return e;if((0,n.isClass)(e)?e.type=\\\"ClassExpression\\\":(0,n.isFunction)(e)&&(e.type=\\\"FunctionExpression\\\"),!(0,n.isExpression)(e))throw new Error(`cannot turn ${e.type} to an expression`);return e}},7718:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){e+=\\\"\\\";let t=\\\"\\\";for(const r of e)t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:\\\"-\\\";return t=t.replace(/^[-0-9]+/,\\\"\\\"),t=t.replace(/[-\\\\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():\\\"\\\"})),(0,n.default)(t)||(t=`_${t}`),t||\\\"_\\\"};var n=r(6335),i=r(7075)},3240:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=a;var n=r(3924),i=r(5833),s=r(2271);function a(e,t=e.key){let r;return\\\"method\\\"===e.kind?a.increment()+\\\"\\\":(r=(0,n.isIdentifier)(t)?t.name:(0,n.isStringLiteral)(t)?JSON.stringify(t.value):JSON.stringify((0,s.default)((0,i.default)(t))),e.computed&&(r=`[${r}]`),e.static&&(r=`static:${r}`),r)}a.uid=0,a.increment=function(){return a.uid>=Number.MAX_SAFE_INTEGER?a.uid=0:a.uid++}},4868:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t){if(null==e||!e.length)return;const r=[],i=(0,n.default)(e,t,r);if(i){for(const e of r)t.push(e);return i}};var n=r(8467)},874:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=void 0;var n=r(3924),i=r(1580);t.default=function(e,t){if((0,n.isStatement)(e))return e;let r,s=!1;if((0,n.isClass)(e))s=!0,r=\\\"ClassDeclaration\\\";else if((0,n.isFunction)(e))s=!0,r=\\\"FunctionDeclaration\\\";else if((0,n.isAssignmentExpression)(e))return(0,i.expressionStatement)(e);if(s&&!e.id&&(r=!1),!r){if(t)return!1;throw new Error(`cannot turn ${e.type} to a statement`)}return e.type=r,e}},1799:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=void 0;var n=r(6335),i=r(1580);t.default=function e(t){if(void 0===t)return(0,i.identifier)(\\\"undefined\\\");if(!0===t||!1===t)return(0,i.booleanLiteral)(t);if(null===t)return(0,i.nullLiteral)();if(\\\"string\\\"==typeof t)return(0,i.stringLiteral)(t);if(\\\"number\\\"==typeof t){let e;if(Number.isFinite(t))e=(0,i.numericLiteral)(Math.abs(t));else{let r;r=Number.isNaN(t)?(0,i.numericLiteral)(0):(0,i.numericLiteral)(1),e=(0,i.binaryExpression)(\\\"/\\\",r,(0,i.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,i.unaryExpression)(\\\"-\\\",e)),e}if(function(e){return\\\"[object RegExp]\\\"===s(e)}(t)){const e=t.source,r=t.toString().match(/\\\\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(e,r)}if(Array.isArray(t))return(0,i.arrayExpression)(t.map(e));if(function(e){if(\\\"object\\\"!=typeof e||null===e||\\\"[object Object]\\\"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}(t)){const r=[];for(const s of Object.keys(t)){let a;a=(0,n.default)(s)?(0,i.identifier)(s):(0,i.stringLiteral)(s),r.push((0,i.objectProperty)(a,e(t[s])))}return(0,i.objectExpression)(r)}throw new Error(\\\"don't know how to turn this value into a node\\\")};const s=Function.call.bind(Object.prototype.toString)},9357:(e,t,r)=>{\\\"use strict\\\";var n=r(397);Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var i=r(5001),s=r(6335),a=r(7075),o=r(2770),l=r(5455);(0,l.default)(\\\"ArrayExpression\\\",{fields:{elements:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeOrValueType)(\\\"null\\\",\\\"Expression\\\",\\\"SpreadElement\\\"))),default:n.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:[\\\"elements\\\"],aliases:[\\\"Expression\\\"]}),(0,l.default)(\\\"AssignmentExpression\\\",{fields:{operator:{validate:function(){if(!n.env.BABEL_TYPES_8_BREAKING)return(0,l.assertValueType)(\\\"string\\\");const e=(0,l.assertOneOf)(...o.ASSIGNMENT_OPERATORS),t=(0,l.assertOneOf)(\\\"=\\\");return function(r,n,s){((0,i.default)(\\\"Pattern\\\",r.left)?t:e)(r,n,s)}}()},left:{validate:n.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)(\\\"Identifier\\\",\\\"MemberExpression\\\",\\\"ArrayPattern\\\",\\\"ObjectPattern\\\"):(0,l.assertNodeType)(\\\"LVal\\\")},right:{validate:(0,l.assertNodeType)(\\\"Expression\\\")}},builder:[\\\"operator\\\",\\\"left\\\",\\\"right\\\"],visitor:[\\\"left\\\",\\\"right\\\"],aliases:[\\\"Expression\\\"]}),(0,l.default)(\\\"BinaryExpression\\\",{builder:[\\\"operator\\\",\\\"left\\\",\\\"right\\\"],fields:{operator:{validate:(0,l.assertOneOf)(...o.BINARY_OPERATORS)},left:{validate:function(){const e=(0,l.assertNodeType)(\\\"Expression\\\"),t=(0,l.assertNodeType)(\\\"Expression\\\",\\\"PrivateName\\\"),r=function(r,n,i){(\\\"in\\\"===r.operator?t:e)(r,n,i)};return r.oneOfNodeTypes=[\\\"Expression\\\",\\\"PrivateName\\\"],r}()},right:{validate:(0,l.assertNodeType)(\\\"Expression\\\")}},visitor:[\\\"left\\\",\\\"right\\\"],aliases:[\\\"Binary\\\",\\\"Expression\\\"]}),(0,l.default)(\\\"InterpreterDirective\\\",{builder:[\\\"value\\\"],fields:{value:{validate:(0,l.assertValueType)(\\\"string\\\")}}}),(0,l.default)(\\\"Directive\\\",{visitor:[\\\"value\\\"],fields:{value:{validate:(0,l.assertNodeType)(\\\"DirectiveLiteral\\\")}}}),(0,l.default)(\\\"DirectiveLiteral\\\",{builder:[\\\"value\\\"],fields:{value:{validate:(0,l.assertValueType)(\\\"string\\\")}}}),(0,l.default)(\\\"BlockStatement\\\",{builder:[\\\"body\\\",\\\"directives\\\"],visitor:[\\\"directives\\\",\\\"body\\\"],fields:{directives:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Directive\\\"))),default:[]},body:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Statement\\\")))}},aliases:[\\\"Scopable\\\",\\\"BlockParent\\\",\\\"Block\\\",\\\"Statement\\\"]}),(0,l.default)(\\\"BreakStatement\\\",{visitor:[\\\"label\\\"],fields:{label:{validate:(0,l.assertNodeType)(\\\"Identifier\\\"),optional:!0}},aliases:[\\\"Statement\\\",\\\"Terminatorless\\\",\\\"CompletionStatement\\\"]}),(0,l.default)(\\\"CallExpression\\\",{visitor:[\\\"callee\\\",\\\"arguments\\\",\\\"typeParameters\\\",\\\"typeArguments\\\"],builder:[\\\"callee\\\",\\\"arguments\\\"],aliases:[\\\"Expression\\\"],fields:Object.assign({callee:{validate:(0,l.assertNodeType)(\\\"Expression\\\",\\\"V8IntrinsicIdentifier\\\")},arguments:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Expression\\\",\\\"SpreadElement\\\",\\\"JSXNamespacedName\\\",\\\"ArgumentPlaceholder\\\")))}},n.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,l.assertOneOf)(!0,!1),optional:!0}},{typeArguments:{validate:(0,l.assertNodeType)(\\\"TypeParameterInstantiation\\\"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)(\\\"TSTypeParameterInstantiation\\\"),optional:!0}})}),(0,l.default)(\\\"CatchClause\\\",{visitor:[\\\"param\\\",\\\"body\\\"],fields:{param:{validate:(0,l.assertNodeType)(\\\"Identifier\\\",\\\"ArrayPattern\\\",\\\"ObjectPattern\\\"),optional:!0},body:{validate:(0,l.assertNodeType)(\\\"BlockStatement\\\")}},aliases:[\\\"Scopable\\\",\\\"BlockParent\\\"]}),(0,l.default)(\\\"ConditionalExpression\\\",{visitor:[\\\"test\\\",\\\"consequent\\\",\\\"alternate\\\"],fields:{test:{validate:(0,l.assertNodeType)(\\\"Expression\\\")},consequent:{validate:(0,l.assertNodeType)(\\\"Expression\\\")},alternate:{validate:(0,l.assertNodeType)(\\\"Expression\\\")}},aliases:[\\\"Expression\\\",\\\"Conditional\\\"]}),(0,l.default)(\\\"ContinueStatement\\\",{visitor:[\\\"label\\\"],fields:{label:{validate:(0,l.assertNodeType)(\\\"Identifier\\\"),optional:!0}},aliases:[\\\"Statement\\\",\\\"Terminatorless\\\",\\\"CompletionStatement\\\"]}),(0,l.default)(\\\"DebuggerStatement\\\",{aliases:[\\\"Statement\\\"]}),(0,l.default)(\\\"DoWhileStatement\\\",{visitor:[\\\"test\\\",\\\"body\\\"],fields:{test:{validate:(0,l.assertNodeType)(\\\"Expression\\\")},body:{validate:(0,l.assertNodeType)(\\\"Statement\\\")}},aliases:[\\\"Statement\\\",\\\"BlockParent\\\",\\\"Loop\\\",\\\"While\\\",\\\"Scopable\\\"]}),(0,l.default)(\\\"EmptyStatement\\\",{aliases:[\\\"Statement\\\"]}),(0,l.default)(\\\"ExpressionStatement\\\",{visitor:[\\\"expression\\\"],fields:{expression:{validate:(0,l.assertNodeType)(\\\"Expression\\\")}},aliases:[\\\"Statement\\\",\\\"ExpressionWrapper\\\"]}),(0,l.default)(\\\"File\\\",{builder:[\\\"program\\\",\\\"comments\\\",\\\"tokens\\\"],visitor:[\\\"program\\\"],fields:{program:{validate:(0,l.assertNodeType)(\\\"Program\\\")},comments:{validate:n.env.BABEL_TYPES_8_BREAKING?(0,l.assertEach)((0,l.assertNodeType)(\\\"CommentBlock\\\",\\\"CommentLine\\\")):Object.assign((()=>{}),{each:{oneOfNodeTypes:[\\\"CommentBlock\\\",\\\"CommentLine\\\"]}}),optional:!0},tokens:{validate:(0,l.assertEach)(Object.assign((()=>{}),{type:\\\"any\\\"})),optional:!0}}}),(0,l.default)(\\\"ForInStatement\\\",{visitor:[\\\"left\\\",\\\"right\\\",\\\"body\\\"],aliases:[\\\"Scopable\\\",\\\"Statement\\\",\\\"For\\\",\\\"BlockParent\\\",\\\"Loop\\\",\\\"ForXStatement\\\"],fields:{left:{validate:n.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)(\\\"VariableDeclaration\\\",\\\"Identifier\\\",\\\"MemberExpression\\\",\\\"ArrayPattern\\\",\\\"ObjectPattern\\\"):(0,l.assertNodeType)(\\\"VariableDeclaration\\\",\\\"LVal\\\")},right:{validate:(0,l.assertNodeType)(\\\"Expression\\\")},body:{validate:(0,l.assertNodeType)(\\\"Statement\\\")}}}),(0,l.default)(\\\"ForStatement\\\",{visitor:[\\\"init\\\",\\\"test\\\",\\\"update\\\",\\\"body\\\"],aliases:[\\\"Scopable\\\",\\\"Statement\\\",\\\"For\\\",\\\"BlockParent\\\",\\\"Loop\\\"],fields:{init:{validate:(0,l.assertNodeType)(\\\"VariableDeclaration\\\",\\\"Expression\\\"),optional:!0},test:{validate:(0,l.assertNodeType)(\\\"Expression\\\"),optional:!0},update:{validate:(0,l.assertNodeType)(\\\"Expression\\\"),optional:!0},body:{validate:(0,l.assertNodeType)(\\\"Statement\\\")}}});const p={params:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Identifier\\\",\\\"Pattern\\\",\\\"RestElement\\\",\\\"TSParameterProperty\\\")))},generator:{default:!1},async:{default:!1}};t.functionCommon=p;const c={returnType:{validate:(0,l.assertNodeType)(\\\"TypeAnnotation\\\",\\\"TSTypeAnnotation\\\",\\\"Noop\\\"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)(\\\"TypeParameterDeclaration\\\",\\\"TSTypeParameterDeclaration\\\",\\\"Noop\\\"),optional:!0}};t.functionTypeAnnotationCommon=c;const u=Object.assign({},p,{declare:{validate:(0,l.assertValueType)(\\\"boolean\\\"),optional:!0},id:{validate:(0,l.assertNodeType)(\\\"Identifier\\\"),optional:!0}});t.functionDeclarationCommon=u,(0,l.default)(\\\"FunctionDeclaration\\\",{builder:[\\\"id\\\",\\\"params\\\",\\\"body\\\",\\\"generator\\\",\\\"async\\\"],visitor:[\\\"id\\\",\\\"params\\\",\\\"body\\\",\\\"returnType\\\",\\\"typeParameters\\\"],fields:Object.assign({},u,c,{body:{validate:(0,l.assertNodeType)(\\\"BlockStatement\\\")}}),aliases:[\\\"Scopable\\\",\\\"Function\\\",\\\"BlockParent\\\",\\\"FunctionParent\\\",\\\"Statement\\\",\\\"Pureish\\\",\\\"Declaration\\\"],validate:function(){if(!n.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,l.assertNodeType)(\\\"Identifier\\\");return function(t,r,n){(0,i.default)(\\\"ExportDefaultDeclaration\\\",t)||e(n,\\\"id\\\",n.id)}}()}),(0,l.default)(\\\"FunctionExpression\\\",{inherits:\\\"FunctionDeclaration\\\",aliases:[\\\"Scopable\\\",\\\"Function\\\",\\\"BlockParent\\\",\\\"FunctionParent\\\",\\\"Expression\\\",\\\"Pureish\\\"],fields:Object.assign({},p,c,{id:{validate:(0,l.assertNodeType)(\\\"Identifier\\\"),optional:!0},body:{validate:(0,l.assertNodeType)(\\\"BlockStatement\\\")}})});const d={typeAnnotation:{validate:(0,l.assertNodeType)(\\\"TypeAnnotation\\\",\\\"TSTypeAnnotation\\\",\\\"Noop\\\"),optional:!0},decorators:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Decorator\\\")))}};t.patternLikeCommon=d,(0,l.default)(\\\"Identifier\\\",{builder:[\\\"name\\\"],visitor:[\\\"typeAnnotation\\\",\\\"decorators\\\"],aliases:[\\\"Expression\\\",\\\"PatternLike\\\",\\\"LVal\\\",\\\"TSEntityName\\\"],fields:Object.assign({},d,{name:{validate:(0,l.chain)((0,l.assertValueType)(\\\"string\\\"),Object.assign((function(e,t,r){if(n.env.BABEL_TYPES_8_BREAKING&&!(0,s.default)(r,!1))throw new TypeError(`\\\"${r}\\\" is not a valid identifier name`)}),{type:\\\"string\\\"}))},optional:{validate:(0,l.assertValueType)(\\\"boolean\\\"),optional:!0}}),validate(e,t,r){if(!n.env.BABEL_TYPES_8_BREAKING)return;const s=/\\\\.(\\\\w+)$/.exec(t);if(!s)return;const[,o]=s,l={computed:!1};if(\\\"property\\\"===o){if((0,i.default)(\\\"MemberExpression\\\",e,l))return;if((0,i.default)(\\\"OptionalMemberExpression\\\",e,l))return}else if(\\\"key\\\"===o){if((0,i.default)(\\\"Property\\\",e,l))return;if((0,i.default)(\\\"Method\\\",e,l))return}else if(\\\"exported\\\"===o){if((0,i.default)(\\\"ExportSpecifier\\\",e))return}else if(\\\"imported\\\"===o){if((0,i.default)(\\\"ImportSpecifier\\\",e,{imported:r}))return}else if(\\\"meta\\\"===o&&(0,i.default)(\\\"MetaProperty\\\",e,{meta:r}))return;if(((0,a.isKeyword)(r.name)||(0,a.isReservedWord)(r.name,!1))&&\\\"this\\\"!==r.name)throw new TypeError(`\\\"${r.name}\\\" is not a valid identifier`)}}),(0,l.default)(\\\"IfStatement\\\",{visitor:[\\\"test\\\",\\\"consequent\\\",\\\"alternate\\\"],aliases:[\\\"Statement\\\",\\\"Conditional\\\"],fields:{test:{validate:(0,l.assertNodeType)(\\\"Expression\\\")},consequent:{validate:(0,l.assertNodeType)(\\\"Statement\\\")},alternate:{optional:!0,validate:(0,l.assertNodeType)(\\\"Statement\\\")}}}),(0,l.default)(\\\"LabeledStatement\\\",{visitor:[\\\"label\\\",\\\"body\\\"],aliases:[\\\"Statement\\\"],fields:{label:{validate:(0,l.assertNodeType)(\\\"Identifier\\\")},body:{validate:(0,l.assertNodeType)(\\\"Statement\\\")}}}),(0,l.default)(\\\"StringLiteral\\\",{builder:[\\\"value\\\"],fields:{value:{validate:(0,l.assertValueType)(\\\"string\\\")}},aliases:[\\\"Expression\\\",\\\"Pureish\\\",\\\"Literal\\\",\\\"Immutable\\\"]}),(0,l.default)(\\\"NumericLiteral\\\",{builder:[\\\"value\\\"],deprecatedAlias:\\\"NumberLiteral\\\",fields:{value:{validate:(0,l.assertValueType)(\\\"number\\\")}},aliases:[\\\"Expression\\\",\\\"Pureish\\\",\\\"Literal\\\",\\\"Immutable\\\"]}),(0,l.default)(\\\"NullLiteral\\\",{aliases:[\\\"Expression\\\",\\\"Pureish\\\",\\\"Literal\\\",\\\"Immutable\\\"]}),(0,l.default)(\\\"BooleanLiteral\\\",{builder:[\\\"value\\\"],fields:{value:{validate:(0,l.assertValueType)(\\\"boolean\\\")}},aliases:[\\\"Expression\\\",\\\"Pureish\\\",\\\"Literal\\\",\\\"Immutable\\\"]}),(0,l.default)(\\\"RegExpLiteral\\\",{builder:[\\\"pattern\\\",\\\"flags\\\"],deprecatedAlias:\\\"RegexLiteral\\\",aliases:[\\\"Expression\\\",\\\"Pureish\\\",\\\"Literal\\\"],fields:{pattern:{validate:(0,l.assertValueType)(\\\"string\\\")},flags:{validate:(0,l.chain)((0,l.assertValueType)(\\\"string\\\"),Object.assign((function(e,t,r){if(!n.env.BABEL_TYPES_8_BREAKING)return;const i=/[^gimsuy]/.exec(r);if(i)throw new TypeError(`\\\"${i[0]}\\\" is not a valid RegExp flag`)}),{type:\\\"string\\\"})),default:\\\"\\\"}}}),(0,l.default)(\\\"LogicalExpression\\\",{builder:[\\\"operator\\\",\\\"left\\\",\\\"right\\\"],visitor:[\\\"left\\\",\\\"right\\\"],aliases:[\\\"Binary\\\",\\\"Expression\\\"],fields:{operator:{validate:(0,l.assertOneOf)(...o.LOGICAL_OPERATORS)},left:{validate:(0,l.assertNodeType)(\\\"Expression\\\")},right:{validate:(0,l.assertNodeType)(\\\"Expression\\\")}}}),(0,l.default)(\\\"MemberExpression\\\",{builder:[\\\"object\\\",\\\"property\\\",\\\"computed\\\",\\\"optional\\\"],visitor:[\\\"object\\\",\\\"property\\\"],aliases:[\\\"Expression\\\",\\\"LVal\\\"],fields:Object.assign({object:{validate:(0,l.assertNodeType)(\\\"Expression\\\")},property:{validate:function(){const e=(0,l.assertNodeType)(\\\"Identifier\\\",\\\"PrivateName\\\"),t=(0,l.assertNodeType)(\\\"Expression\\\"),r=function(r,n,i){(r.computed?t:e)(r,n,i)};return r.oneOfNodeTypes=[\\\"Expression\\\",\\\"Identifier\\\",\\\"PrivateName\\\"],r}()},computed:{default:!1}},n.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,l.assertOneOf)(!0,!1),optional:!0}})}),(0,l.default)(\\\"NewExpression\\\",{inherits:\\\"CallExpression\\\"}),(0,l.default)(\\\"Program\\\",{visitor:[\\\"directives\\\",\\\"body\\\"],builder:[\\\"body\\\",\\\"directives\\\",\\\"sourceType\\\",\\\"interpreter\\\"],fields:{sourceFile:{validate:(0,l.assertValueType)(\\\"string\\\")},sourceType:{validate:(0,l.assertOneOf)(\\\"script\\\",\\\"module\\\"),default:\\\"script\\\"},interpreter:{validate:(0,l.assertNodeType)(\\\"InterpreterDirective\\\"),default:null,optional:!0},directives:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Directive\\\"))),default:[]},body:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Statement\\\")))}},aliases:[\\\"Scopable\\\",\\\"BlockParent\\\",\\\"Block\\\"]}),(0,l.default)(\\\"ObjectExpression\\\",{visitor:[\\\"properties\\\"],aliases:[\\\"Expression\\\"],fields:{properties:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"ObjectMethod\\\",\\\"ObjectProperty\\\",\\\"SpreadElement\\\")))}}}),(0,l.default)(\\\"ObjectMethod\\\",{builder:[\\\"kind\\\",\\\"key\\\",\\\"params\\\",\\\"body\\\",\\\"computed\\\",\\\"generator\\\",\\\"async\\\"],fields:Object.assign({},p,c,{kind:Object.assign({validate:(0,l.assertOneOf)(\\\"method\\\",\\\"get\\\",\\\"set\\\")},n.env.BABEL_TYPES_8_BREAKING?{}:{default:\\\"method\\\"}),computed:{default:!1},key:{validate:function(){const e=(0,l.assertNodeType)(\\\"Identifier\\\",\\\"StringLiteral\\\",\\\"NumericLiteral\\\"),t=(0,l.assertNodeType)(\\\"Expression\\\"),r=function(r,n,i){(r.computed?t:e)(r,n,i)};return r.oneOfNodeTypes=[\\\"Expression\\\",\\\"Identifier\\\",\\\"StringLiteral\\\",\\\"NumericLiteral\\\"],r}()},decorators:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Decorator\\\"))),optional:!0},body:{validate:(0,l.assertNodeType)(\\\"BlockStatement\\\")}}),visitor:[\\\"key\\\",\\\"params\\\",\\\"body\\\",\\\"decorators\\\",\\\"returnType\\\",\\\"typeParameters\\\"],aliases:[\\\"UserWhitespacable\\\",\\\"Function\\\",\\\"Scopable\\\",\\\"BlockParent\\\",\\\"FunctionParent\\\",\\\"Method\\\",\\\"ObjectMember\\\"]}),(0,l.default)(\\\"ObjectProperty\\\",{builder:[\\\"key\\\",\\\"value\\\",\\\"computed\\\",\\\"shorthand\\\",...n.env.BABEL_TYPES_8_BREAKING?[]:[\\\"decorators\\\"]],fields:{computed:{default:!1},key:{validate:function(){const e=(0,l.assertNodeType)(\\\"Identifier\\\",\\\"StringLiteral\\\",\\\"NumericLiteral\\\"),t=(0,l.assertNodeType)(\\\"Expression\\\"),r=function(r,n,i){(r.computed?t:e)(r,n,i)};return r.oneOfNodeTypes=[\\\"Expression\\\",\\\"Identifier\\\",\\\"StringLiteral\\\",\\\"NumericLiteral\\\"],r}()},value:{validate:(0,l.assertNodeType)(\\\"Expression\\\",\\\"PatternLike\\\")},shorthand:{validate:(0,l.chain)((0,l.assertValueType)(\\\"boolean\\\"),Object.assign((function(e,t,r){if(n.env.BABEL_TYPES_8_BREAKING&&r&&e.computed)throw new TypeError(\\\"Property shorthand of ObjectProperty cannot be true if computed is true\\\")}),{type:\\\"boolean\\\"}),(function(e,t,r){if(n.env.BABEL_TYPES_8_BREAKING&&r&&!(0,i.default)(\\\"Identifier\\\",e.key))throw new TypeError(\\\"Property shorthand of ObjectProperty cannot be true if key is not an Identifier\\\")})),default:!1},decorators:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Decorator\\\"))),optional:!0}},visitor:[\\\"key\\\",\\\"value\\\",\\\"decorators\\\"],aliases:[\\\"UserWhitespacable\\\",\\\"Property\\\",\\\"ObjectMember\\\"],validate:function(){const e=(0,l.assertNodeType)(\\\"Identifier\\\",\\\"Pattern\\\"),t=(0,l.assertNodeType)(\\\"Expression\\\");return function(r,s,a){n.env.BABEL_TYPES_8_BREAKING&&((0,i.default)(\\\"ObjectPattern\\\",r)?e:t)(a,\\\"value\\\",a.value)}}()}),(0,l.default)(\\\"RestElement\\\",{visitor:[\\\"argument\\\",\\\"typeAnnotation\\\"],builder:[\\\"argument\\\"],aliases:[\\\"LVal\\\",\\\"PatternLike\\\"],deprecatedAlias:\\\"RestProperty\\\",fields:Object.assign({},d,{argument:{validate:n.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)(\\\"Identifier\\\",\\\"Pattern\\\",\\\"MemberExpression\\\"):(0,l.assertNodeType)(\\\"LVal\\\")}}),validate(e,t){if(!n.env.BABEL_TYPES_8_BREAKING)return;const r=/(\\\\w+)\\\\[(\\\\d+)\\\\]/.exec(t);if(!r)throw new Error(\\\"Internal Babel error: malformed key.\\\");const[,i,s]=r;if(e[i].length>s+1)throw new TypeError(`RestElement must be last element of ${i}`)}}),(0,l.default)(\\\"ReturnStatement\\\",{visitor:[\\\"argument\\\"],aliases:[\\\"Statement\\\",\\\"Terminatorless\\\",\\\"CompletionStatement\\\"],fields:{argument:{validate:(0,l.assertNodeType)(\\\"Expression\\\"),optional:!0}}}),(0,l.default)(\\\"SequenceExpression\\\",{visitor:[\\\"expressions\\\"],fields:{expressions:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Expression\\\")))}},aliases:[\\\"Expression\\\"]}),(0,l.default)(\\\"ParenthesizedExpression\\\",{visitor:[\\\"expression\\\"],aliases:[\\\"Expression\\\",\\\"ExpressionWrapper\\\"],fields:{expression:{validate:(0,l.assertNodeType)(\\\"Expression\\\")}}}),(0,l.default)(\\\"SwitchCase\\\",{visitor:[\\\"test\\\",\\\"consequent\\\"],fields:{test:{validate:(0,l.assertNodeType)(\\\"Expression\\\"),optional:!0},consequent:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Statement\\\")))}}}),(0,l.default)(\\\"SwitchStatement\\\",{visitor:[\\\"discriminant\\\",\\\"cases\\\"],aliases:[\\\"Statement\\\",\\\"BlockParent\\\",\\\"Scopable\\\"],fields:{discriminant:{validate:(0,l.assertNodeType)(\\\"Expression\\\")},cases:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"SwitchCase\\\")))}}}),(0,l.default)(\\\"ThisExpression\\\",{aliases:[\\\"Expression\\\"]}),(0,l.default)(\\\"ThrowStatement\\\",{visitor:[\\\"argument\\\"],aliases:[\\\"Statement\\\",\\\"Terminatorless\\\",\\\"CompletionStatement\\\"],fields:{argument:{validate:(0,l.assertNodeType)(\\\"Expression\\\")}}}),(0,l.default)(\\\"TryStatement\\\",{visitor:[\\\"block\\\",\\\"handler\\\",\\\"finalizer\\\"],aliases:[\\\"Statement\\\"],fields:{block:{validate:(0,l.chain)((0,l.assertNodeType)(\\\"BlockStatement\\\"),Object.assign((function(e){if(n.env.BABEL_TYPES_8_BREAKING&&!e.handler&&!e.finalizer)throw new TypeError(\\\"TryStatement expects either a handler or finalizer, or both\\\")}),{oneOfNodeTypes:[\\\"BlockStatement\\\"]}))},handler:{optional:!0,validate:(0,l.assertNodeType)(\\\"CatchClause\\\")},finalizer:{optional:!0,validate:(0,l.assertNodeType)(\\\"BlockStatement\\\")}}}),(0,l.default)(\\\"UnaryExpression\\\",{builder:[\\\"operator\\\",\\\"argument\\\",\\\"prefix\\\"],fields:{prefix:{default:!0},argument:{validate:(0,l.assertNodeType)(\\\"Expression\\\")},operator:{validate:(0,l.assertOneOf)(...o.UNARY_OPERATORS)}},visitor:[\\\"argument\\\"],aliases:[\\\"UnaryLike\\\",\\\"Expression\\\"]}),(0,l.default)(\\\"UpdateExpression\\\",{builder:[\\\"operator\\\",\\\"argument\\\",\\\"prefix\\\"],fields:{prefix:{default:!1},argument:{validate:n.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)(\\\"Identifier\\\",\\\"MemberExpression\\\"):(0,l.assertNodeType)(\\\"Expression\\\")},operator:{validate:(0,l.assertOneOf)(...o.UPDATE_OPERATORS)}},visitor:[\\\"argument\\\"],aliases:[\\\"Expression\\\"]}),(0,l.default)(\\\"VariableDeclaration\\\",{builder:[\\\"kind\\\",\\\"declarations\\\"],visitor:[\\\"declarations\\\"],aliases:[\\\"Statement\\\",\\\"Declaration\\\"],fields:{declare:{validate:(0,l.assertValueType)(\\\"boolean\\\"),optional:!0},kind:{validate:(0,l.assertOneOf)(\\\"var\\\",\\\"let\\\",\\\"const\\\")},declarations:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"VariableDeclarator\\\")))}},validate(e,t,r){if(n.env.BABEL_TYPES_8_BREAKING&&(0,i.default)(\\\"ForXStatement\\\",e,{left:r})&&1!==r.declarations.length)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}),(0,l.default)(\\\"VariableDeclarator\\\",{visitor:[\\\"id\\\",\\\"init\\\"],fields:{id:{validate:function(){if(!n.env.BABEL_TYPES_8_BREAKING)return(0,l.assertNodeType)(\\\"LVal\\\");const e=(0,l.assertNodeType)(\\\"Identifier\\\",\\\"ArrayPattern\\\",\\\"ObjectPattern\\\"),t=(0,l.assertNodeType)(\\\"Identifier\\\");return function(r,n,i){(r.init?e:t)(r,n,i)}}()},definite:{optional:!0,validate:(0,l.assertValueType)(\\\"boolean\\\")},init:{optional:!0,validate:(0,l.assertNodeType)(\\\"Expression\\\")}}}),(0,l.default)(\\\"WhileStatement\\\",{visitor:[\\\"test\\\",\\\"body\\\"],aliases:[\\\"Statement\\\",\\\"BlockParent\\\",\\\"Loop\\\",\\\"While\\\",\\\"Scopable\\\"],fields:{test:{validate:(0,l.assertNodeType)(\\\"Expression\\\")},body:{validate:(0,l.assertNodeType)(\\\"Statement\\\")}}}),(0,l.default)(\\\"WithStatement\\\",{visitor:[\\\"object\\\",\\\"body\\\"],aliases:[\\\"Statement\\\"],fields:{object:{validate:(0,l.assertNodeType)(\\\"Expression\\\")},body:{validate:(0,l.assertNodeType)(\\\"Statement\\\")}}}),(0,l.default)(\\\"AssignmentPattern\\\",{visitor:[\\\"left\\\",\\\"right\\\",\\\"decorators\\\"],builder:[\\\"left\\\",\\\"right\\\"],aliases:[\\\"Pattern\\\",\\\"PatternLike\\\",\\\"LVal\\\"],fields:Object.assign({},d,{left:{validate:(0,l.assertNodeType)(\\\"Identifier\\\",\\\"ObjectPattern\\\",\\\"ArrayPattern\\\",\\\"MemberExpression\\\")},right:{validate:(0,l.assertNodeType)(\\\"Expression\\\")},decorators:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Decorator\\\"))),optional:!0}})}),(0,l.default)(\\\"ArrayPattern\\\",{visitor:[\\\"elements\\\",\\\"typeAnnotation\\\"],builder:[\\\"elements\\\"],aliases:[\\\"Pattern\\\",\\\"PatternLike\\\",\\\"LVal\\\"],fields:Object.assign({},d,{elements:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeOrValueType)(\\\"null\\\",\\\"PatternLike\\\")))},decorators:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Decorator\\\"))),optional:!0}})}),(0,l.default)(\\\"ArrowFunctionExpression\\\",{builder:[\\\"params\\\",\\\"body\\\",\\\"async\\\"],visitor:[\\\"params\\\",\\\"body\\\",\\\"returnType\\\",\\\"typeParameters\\\"],aliases:[\\\"Scopable\\\",\\\"Function\\\",\\\"BlockParent\\\",\\\"FunctionParent\\\",\\\"Expression\\\",\\\"Pureish\\\"],fields:Object.assign({},p,c,{expression:{validate:(0,l.assertValueType)(\\\"boolean\\\")},body:{validate:(0,l.assertNodeType)(\\\"BlockStatement\\\",\\\"Expression\\\")}})}),(0,l.default)(\\\"ClassBody\\\",{visitor:[\\\"body\\\"],fields:{body:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"ClassMethod\\\",\\\"ClassPrivateMethod\\\",\\\"ClassProperty\\\",\\\"ClassPrivateProperty\\\",\\\"TSDeclareMethod\\\",\\\"TSIndexSignature\\\")))}}}),(0,l.default)(\\\"ClassExpression\\\",{builder:[\\\"id\\\",\\\"superClass\\\",\\\"body\\\",\\\"decorators\\\"],visitor:[\\\"id\\\",\\\"body\\\",\\\"superClass\\\",\\\"mixins\\\",\\\"typeParameters\\\",\\\"superTypeParameters\\\",\\\"implements\\\",\\\"decorators\\\"],aliases:[\\\"Scopable\\\",\\\"Class\\\",\\\"Expression\\\"],fields:{id:{validate:(0,l.assertNodeType)(\\\"Identifier\\\"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)(\\\"TypeParameterDeclaration\\\",\\\"TSTypeParameterDeclaration\\\",\\\"Noop\\\"),optional:!0},body:{validate:(0,l.assertNodeType)(\\\"ClassBody\\\")},superClass:{optional:!0,validate:(0,l.assertNodeType)(\\\"Expression\\\")},superTypeParameters:{validate:(0,l.assertNodeType)(\\\"TypeParameterInstantiation\\\",\\\"TSTypeParameterInstantiation\\\"),optional:!0},implements:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"TSExpressionWithTypeArguments\\\",\\\"ClassImplements\\\"))),optional:!0},decorators:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Decorator\\\"))),optional:!0},mixins:{validate:(0,l.assertNodeType)(\\\"InterfaceExtends\\\"),optional:!0}}}),(0,l.default)(\\\"ClassDeclaration\\\",{inherits:\\\"ClassExpression\\\",aliases:[\\\"Scopable\\\",\\\"Class\\\",\\\"Statement\\\",\\\"Declaration\\\"],fields:{id:{validate:(0,l.assertNodeType)(\\\"Identifier\\\")},typeParameters:{validate:(0,l.assertNodeType)(\\\"TypeParameterDeclaration\\\",\\\"TSTypeParameterDeclaration\\\",\\\"Noop\\\"),optional:!0},body:{validate:(0,l.assertNodeType)(\\\"ClassBody\\\")},superClass:{optional:!0,validate:(0,l.assertNodeType)(\\\"Expression\\\")},superTypeParameters:{validate:(0,l.assertNodeType)(\\\"TypeParameterInstantiation\\\",\\\"TSTypeParameterInstantiation\\\"),optional:!0},implements:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"TSExpressionWithTypeArguments\\\",\\\"ClassImplements\\\"))),optional:!0},decorators:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Decorator\\\"))),optional:!0},mixins:{validate:(0,l.assertNodeType)(\\\"InterfaceExtends\\\"),optional:!0},declare:{validate:(0,l.assertValueType)(\\\"boolean\\\"),optional:!0},abstract:{validate:(0,l.assertValueType)(\\\"boolean\\\"),optional:!0}},validate:function(){const e=(0,l.assertNodeType)(\\\"Identifier\\\");return function(t,r,s){n.env.BABEL_TYPES_8_BREAKING&&((0,i.default)(\\\"ExportDefaultDeclaration\\\",t)||e(s,\\\"id\\\",s.id))}}()}),(0,l.default)(\\\"ExportAllDeclaration\\\",{visitor:[\\\"source\\\"],aliases:[\\\"Statement\\\",\\\"Declaration\\\",\\\"ModuleDeclaration\\\",\\\"ExportDeclaration\\\"],fields:{source:{validate:(0,l.assertNodeType)(\\\"StringLiteral\\\")},exportKind:(0,l.validateOptional)((0,l.assertOneOf)(\\\"type\\\",\\\"value\\\")),assertions:{optional:!0,validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"ImportAttribute\\\")))}}}),(0,l.default)(\\\"ExportDefaultDeclaration\\\",{visitor:[\\\"declaration\\\"],aliases:[\\\"Statement\\\",\\\"Declaration\\\",\\\"ModuleDeclaration\\\",\\\"ExportDeclaration\\\"],fields:{declaration:{validate:(0,l.assertNodeType)(\\\"FunctionDeclaration\\\",\\\"TSDeclareFunction\\\",\\\"ClassDeclaration\\\",\\\"Expression\\\")}}}),(0,l.default)(\\\"ExportNamedDeclaration\\\",{visitor:[\\\"declaration\\\",\\\"specifiers\\\",\\\"source\\\"],aliases:[\\\"Statement\\\",\\\"Declaration\\\",\\\"ModuleDeclaration\\\",\\\"ExportDeclaration\\\"],fields:{declaration:{optional:!0,validate:(0,l.chain)((0,l.assertNodeType)(\\\"Declaration\\\"),Object.assign((function(e,t,r){if(n.env.BABEL_TYPES_8_BREAKING&&r&&e.specifiers.length)throw new TypeError(\\\"Only declaration or specifiers is allowed on ExportNamedDeclaration\\\")}),{oneOfNodeTypes:[\\\"Declaration\\\"]}),(function(e,t,r){if(n.env.BABEL_TYPES_8_BREAKING&&r&&e.source)throw new TypeError(\\\"Cannot export a declaration from a source\\\")}))},assertions:{optional:!0,validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"ImportAttribute\\\")))},specifiers:{default:[],validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)(function(){const e=(0,l.assertNodeType)(\\\"ExportSpecifier\\\",\\\"ExportDefaultSpecifier\\\",\\\"ExportNamespaceSpecifier\\\"),t=(0,l.assertNodeType)(\\\"ExportSpecifier\\\");return n.env.BABEL_TYPES_8_BREAKING?function(r,n,i){(r.source?e:t)(r,n,i)}:e}()))},source:{validate:(0,l.assertNodeType)(\\\"StringLiteral\\\"),optional:!0},exportKind:(0,l.validateOptional)((0,l.assertOneOf)(\\\"type\\\",\\\"value\\\"))}}),(0,l.default)(\\\"ExportSpecifier\\\",{visitor:[\\\"local\\\",\\\"exported\\\"],aliases:[\\\"ModuleSpecifier\\\"],fields:{local:{validate:(0,l.assertNodeType)(\\\"Identifier\\\")},exported:{validate:(0,l.assertNodeType)(\\\"Identifier\\\",\\\"StringLiteral\\\")}}}),(0,l.default)(\\\"ForOfStatement\\\",{visitor:[\\\"left\\\",\\\"right\\\",\\\"body\\\"],builder:[\\\"left\\\",\\\"right\\\",\\\"body\\\",\\\"await\\\"],aliases:[\\\"Scopable\\\",\\\"Statement\\\",\\\"For\\\",\\\"BlockParent\\\",\\\"Loop\\\",\\\"ForXStatement\\\"],fields:{left:{validate:function(){if(!n.env.BABEL_TYPES_8_BREAKING)return(0,l.assertNodeType)(\\\"VariableDeclaration\\\",\\\"LVal\\\");const e=(0,l.assertNodeType)(\\\"VariableDeclaration\\\"),t=(0,l.assertNodeType)(\\\"Identifier\\\",\\\"MemberExpression\\\",\\\"ArrayPattern\\\",\\\"ObjectPattern\\\");return function(r,n,s){(0,i.default)(\\\"VariableDeclaration\\\",s)?e(r,n,s):t(r,n,s)}}()},right:{validate:(0,l.assertNodeType)(\\\"Expression\\\")},body:{validate:(0,l.assertNodeType)(\\\"Statement\\\")},await:{default:!1}}}),(0,l.default)(\\\"ImportDeclaration\\\",{visitor:[\\\"specifiers\\\",\\\"source\\\"],aliases:[\\\"Statement\\\",\\\"Declaration\\\",\\\"ModuleDeclaration\\\"],fields:{assertions:{optional:!0,validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"ImportAttribute\\\")))},specifiers:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"ImportSpecifier\\\",\\\"ImportDefaultSpecifier\\\",\\\"ImportNamespaceSpecifier\\\")))},source:{validate:(0,l.assertNodeType)(\\\"StringLiteral\\\")},importKind:{validate:(0,l.assertOneOf)(\\\"type\\\",\\\"typeof\\\",\\\"value\\\"),optional:!0}}}),(0,l.default)(\\\"ImportDefaultSpecifier\\\",{visitor:[\\\"local\\\"],aliases:[\\\"ModuleSpecifier\\\"],fields:{local:{validate:(0,l.assertNodeType)(\\\"Identifier\\\")}}}),(0,l.default)(\\\"ImportNamespaceSpecifier\\\",{visitor:[\\\"local\\\"],aliases:[\\\"ModuleSpecifier\\\"],fields:{local:{validate:(0,l.assertNodeType)(\\\"Identifier\\\")}}}),(0,l.default)(\\\"ImportSpecifier\\\",{visitor:[\\\"local\\\",\\\"imported\\\"],aliases:[\\\"ModuleSpecifier\\\"],fields:{local:{validate:(0,l.assertNodeType)(\\\"Identifier\\\")},imported:{validate:(0,l.assertNodeType)(\\\"Identifier\\\",\\\"StringLiteral\\\")},importKind:{validate:(0,l.assertOneOf)(\\\"type\\\",\\\"typeof\\\"),optional:!0}}}),(0,l.default)(\\\"MetaProperty\\\",{visitor:[\\\"meta\\\",\\\"property\\\"],aliases:[\\\"Expression\\\"],fields:{meta:{validate:(0,l.chain)((0,l.assertNodeType)(\\\"Identifier\\\"),Object.assign((function(e,t,r){if(!n.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case\\\"function\\\":s=\\\"sent\\\";break;case\\\"new\\\":s=\\\"target\\\";break;case\\\"import\\\":s=\\\"meta\\\"}if(!(0,i.default)(\\\"Identifier\\\",e.property,{name:s}))throw new TypeError(\\\"Unrecognised MetaProperty\\\")}),{oneOfNodeTypes:[\\\"Identifier\\\"]}))},property:{validate:(0,l.assertNodeType)(\\\"Identifier\\\")}}});const h={abstract:{validate:(0,l.assertValueType)(\\\"boolean\\\"),optional:!0},accessibility:{validate:(0,l.assertOneOf)(\\\"public\\\",\\\"private\\\",\\\"protected\\\"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,l.assertValueType)(\\\"boolean\\\"),optional:!0},key:{validate:(0,l.chain)(function(){const e=(0,l.assertNodeType)(\\\"Identifier\\\",\\\"StringLiteral\\\",\\\"NumericLiteral\\\"),t=(0,l.assertNodeType)(\\\"Expression\\\");return function(r,n,i){(r.computed?t:e)(r,n,i)}}(),(0,l.assertNodeType)(\\\"Identifier\\\",\\\"StringLiteral\\\",\\\"NumericLiteral\\\",\\\"Expression\\\"))}};t.classMethodOrPropertyCommon=h;const f=Object.assign({},p,h,{kind:{validate:(0,l.assertOneOf)(\\\"get\\\",\\\"set\\\",\\\"method\\\",\\\"constructor\\\"),default:\\\"method\\\"},access:{validate:(0,l.chain)((0,l.assertValueType)(\\\"string\\\"),(0,l.assertOneOf)(\\\"public\\\",\\\"private\\\",\\\"protected\\\")),optional:!0},decorators:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Decorator\\\"))),optional:!0}});t.classMethodOrDeclareMethodCommon=f,(0,l.default)(\\\"ClassMethod\\\",{aliases:[\\\"Function\\\",\\\"Scopable\\\",\\\"BlockParent\\\",\\\"FunctionParent\\\",\\\"Method\\\"],builder:[\\\"kind\\\",\\\"key\\\",\\\"params\\\",\\\"body\\\",\\\"computed\\\",\\\"static\\\",\\\"generator\\\",\\\"async\\\"],visitor:[\\\"key\\\",\\\"params\\\",\\\"body\\\",\\\"decorators\\\",\\\"returnType\\\",\\\"typeParameters\\\"],fields:Object.assign({},f,c,{body:{validate:(0,l.assertNodeType)(\\\"BlockStatement\\\")}})}),(0,l.default)(\\\"ObjectPattern\\\",{visitor:[\\\"properties\\\",\\\"typeAnnotation\\\",\\\"decorators\\\"],builder:[\\\"properties\\\"],aliases:[\\\"Pattern\\\",\\\"PatternLike\\\",\\\"LVal\\\"],fields:Object.assign({},d,{properties:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"RestElement\\\",\\\"ObjectProperty\\\")))}})}),(0,l.default)(\\\"SpreadElement\\\",{visitor:[\\\"argument\\\"],aliases:[\\\"UnaryLike\\\"],deprecatedAlias:\\\"SpreadProperty\\\",fields:{argument:{validate:(0,l.assertNodeType)(\\\"Expression\\\")}}}),(0,l.default)(\\\"Super\\\",{aliases:[\\\"Expression\\\"]}),(0,l.default)(\\\"TaggedTemplateExpression\\\",{visitor:[\\\"tag\\\",\\\"quasi\\\"],aliases:[\\\"Expression\\\"],fields:{tag:{validate:(0,l.assertNodeType)(\\\"Expression\\\")},quasi:{validate:(0,l.assertNodeType)(\\\"TemplateLiteral\\\")},typeParameters:{validate:(0,l.assertNodeType)(\\\"TypeParameterInstantiation\\\",\\\"TSTypeParameterInstantiation\\\"),optional:!0}}}),(0,l.default)(\\\"TemplateElement\\\",{builder:[\\\"value\\\",\\\"tail\\\"],fields:{value:{validate:(0,l.assertShape)({raw:{validate:(0,l.assertValueType)(\\\"string\\\")},cooked:{validate:(0,l.assertValueType)(\\\"string\\\"),optional:!0}})},tail:{default:!1}}}),(0,l.default)(\\\"TemplateLiteral\\\",{visitor:[\\\"quasis\\\",\\\"expressions\\\"],aliases:[\\\"Expression\\\",\\\"Literal\\\"],fields:{quasis:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"TemplateElement\\\")))},expressions:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Expression\\\",\\\"TSType\\\")),(function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\\\\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}))}}}),(0,l.default)(\\\"YieldExpression\\\",{builder:[\\\"argument\\\",\\\"delegate\\\"],visitor:[\\\"argument\\\"],aliases:[\\\"Expression\\\",\\\"Terminatorless\\\"],fields:{delegate:{validate:(0,l.chain)((0,l.assertValueType)(\\\"boolean\\\"),Object.assign((function(e,t,r){if(n.env.BABEL_TYPES_8_BREAKING&&r&&!e.argument)throw new TypeError(\\\"Property delegate of YieldExpression cannot be true if there is no argument\\\")}),{type:\\\"boolean\\\"})),default:!1},argument:{optional:!0,validate:(0,l.assertNodeType)(\\\"Expression\\\")}}}),(0,l.default)(\\\"AwaitExpression\\\",{builder:[\\\"argument\\\"],visitor:[\\\"argument\\\"],aliases:[\\\"Expression\\\",\\\"Terminatorless\\\"],fields:{argument:{validate:(0,l.assertNodeType)(\\\"Expression\\\")}}}),(0,l.default)(\\\"Import\\\",{aliases:[\\\"Expression\\\"]}),(0,l.default)(\\\"BigIntLiteral\\\",{builder:[\\\"value\\\"],fields:{value:{validate:(0,l.assertValueType)(\\\"string\\\")}},aliases:[\\\"Expression\\\",\\\"Pureish\\\",\\\"Literal\\\",\\\"Immutable\\\"]}),(0,l.default)(\\\"ExportNamespaceSpecifier\\\",{visitor:[\\\"exported\\\"],aliases:[\\\"ModuleSpecifier\\\"],fields:{exported:{validate:(0,l.assertNodeType)(\\\"Identifier\\\")}}}),(0,l.default)(\\\"OptionalMemberExpression\\\",{builder:[\\\"object\\\",\\\"property\\\",\\\"computed\\\",\\\"optional\\\"],visitor:[\\\"object\\\",\\\"property\\\"],aliases:[\\\"Expression\\\"],fields:{object:{validate:(0,l.assertNodeType)(\\\"Expression\\\")},property:{validate:function(){const e=(0,l.assertNodeType)(\\\"Identifier\\\"),t=(0,l.assertNodeType)(\\\"Expression\\\"),r=function(r,n,i){(r.computed?t:e)(r,n,i)};return r.oneOfNodeTypes=[\\\"Expression\\\",\\\"Identifier\\\"],r}()},computed:{default:!1},optional:{validate:n.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)(\\\"boolean\\\"),(0,l.assertOptionalChainStart)()):(0,l.assertValueType)(\\\"boolean\\\")}}}),(0,l.default)(\\\"OptionalCallExpression\\\",{visitor:[\\\"callee\\\",\\\"arguments\\\",\\\"typeParameters\\\",\\\"typeArguments\\\"],builder:[\\\"callee\\\",\\\"arguments\\\",\\\"optional\\\"],aliases:[\\\"Expression\\\"],fields:{callee:{validate:(0,l.assertNodeType)(\\\"Expression\\\")},arguments:{validate:(0,l.chain)((0,l.assertValueType)(\\\"array\\\"),(0,l.assertEach)((0,l.assertNodeType)(\\\"Expression\\\",\\\"SpreadElement\\\",\\\"JSXNamespacedName\\\",\\\"ArgumentPlaceholder\\\")))},optional:{validate:n.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)(\\\"boolean\\\"),(0,l.assertOptionalChainStart)()):(0,l.assertValueType)(\\\"boolean\\\")},typeArguments:{validate:(0,l.assertNodeType)(\\\"TypeParameterInstantiation\\\"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)(\\\"TSTypeParameterInstantiation\\\"),optional:!0}}})},4683:(e,t,r)=>{\\\"use strict\\\";var n=r(397),i=r(5455),s=r(9357);(0,i.default)(\\\"ArgumentPlaceholder\\\",{}),(0,i.default)(\\\"BindExpression\\\",{visitor:[\\\"object\\\",\\\"callee\\\"],aliases:[\\\"Expression\\\"],fields:n.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,i.assertNodeType)(\\\"Expression\\\")},callee:{validate:(0,i.assertNodeType)(\\\"Expression\\\")}}:{object:{validate:Object.assign((()=>{}),{oneOfNodeTypes:[\\\"Expression\\\"]})},callee:{validate:Object.assign((()=>{}),{oneOfNodeTypes:[\\\"Expression\\\"]})}}}),(0,i.default)(\\\"ClassProperty\\\",{visitor:[\\\"key\\\",\\\"value\\\",\\\"typeAnnotation\\\",\\\"decorators\\\"],builder:[\\\"key\\\",\\\"value\\\",\\\"typeAnnotation\\\",\\\"decorators\\\",\\\"computed\\\",\\\"static\\\"],aliases:[\\\"Property\\\"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,i.assertNodeType)(\\\"Expression\\\"),optional:!0},definite:{validate:(0,i.assertValueType)(\\\"boolean\\\"),optional:!0},typeAnnotation:{validate:(0,i.assertNodeType)(\\\"TypeAnnotation\\\",\\\"TSTypeAnnotation\\\",\\\"Noop\\\"),optional:!0},decorators:{validate:(0,i.chain)((0,i.assertValueType)(\\\"array\\\"),(0,i.assertEach)((0,i.assertNodeType)(\\\"Decorator\\\"))),optional:!0},readonly:{validate:(0,i.assertValueType)(\\\"boolean\\\"),optional:!0},declare:{validate:(0,i.assertValueType)(\\\"boolean\\\"),optional:!0}})}),(0,i.default)(\\\"PipelineTopicExpression\\\",{builder:[\\\"expression\\\"],visitor:[\\\"expression\\\"],fields:{expression:{validate:(0,i.assertNodeType)(\\\"Expression\\\")}}}),(0,i.default)(\\\"PipelineBareFunction\\\",{builder:[\\\"callee\\\"],visitor:[\\\"callee\\\"],fields:{callee:{validate:(0,i.assertNodeType)(\\\"Expression\\\")}}}),(0,i.default)(\\\"PipelinePrimaryTopicReference\\\",{aliases:[\\\"Expression\\\"]}),(0,i.default)(\\\"ClassPrivateProperty\\\",{visitor:[\\\"key\\\",\\\"value\\\",\\\"decorators\\\"],builder:[\\\"key\\\",\\\"value\\\",\\\"decorators\\\",\\\"static\\\"],aliases:[\\\"Property\\\",\\\"Private\\\"],fields:{key:{validate:(0,i.assertNodeType)(\\\"PrivateName\\\")},value:{validate:(0,i.assertNodeType)(\\\"Expression\\\"),optional:!0},typeAnnotation:{validate:(0,i.assertNodeType)(\\\"TypeAnnotation\\\",\\\"TSTypeAnnotation\\\",\\\"Noop\\\"),optional:!0},decorators:{validate:(0,i.chain)((0,i.assertValueType)(\\\"array\\\"),(0,i.assertEach)((0,i.assertNodeType)(\\\"Decorator\\\"))),optional:!0}}}),(0,i.default)(\\\"ClassPrivateMethod\\\",{builder:[\\\"kind\\\",\\\"key\\\",\\\"params\\\",\\\"body\\\",\\\"static\\\"],visitor:[\\\"key\\\",\\\"params\\\",\\\"body\\\",\\\"decorators\\\",\\\"returnType\\\",\\\"typeParameters\\\"],aliases:[\\\"Function\\\",\\\"Scopable\\\",\\\"BlockParent\\\",\\\"FunctionParent\\\",\\\"Method\\\",\\\"Private\\\"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,i.assertNodeType)(\\\"PrivateName\\\")},body:{validate:(0,i.assertNodeType)(\\\"BlockStatement\\\")}})}),(0,i.default)(\\\"ImportAttribute\\\",{visitor:[\\\"key\\\",\\\"value\\\"],fields:{key:{validate:(0,i.assertNodeType)(\\\"Identifier\\\",\\\"StringLiteral\\\")},value:{validate:(0,i.assertNodeType)(\\\"StringLiteral\\\")}}}),(0,i.default)(\\\"Decorator\\\",{visitor:[\\\"expression\\\"],fields:{expression:{validate:(0,i.assertNodeType)(\\\"Expression\\\")}}}),(0,i.default)(\\\"DoExpression\\\",{visitor:[\\\"body\\\"],builder:[\\\"body\\\",\\\"async\\\"],aliases:[\\\"Expression\\\"],fields:{body:{validate:(0,i.assertNodeType)(\\\"BlockStatement\\\")},async:{validate:(0,i.assertValueType)(\\\"boolean\\\"),default:!1}}}),(0,i.default)(\\\"ExportDefaultSpecifier\\\",{visitor:[\\\"exported\\\"],aliases:[\\\"ModuleSpecifier\\\"],fields:{exported:{validate:(0,i.assertNodeType)(\\\"Identifier\\\")}}}),(0,i.default)(\\\"PrivateName\\\",{visitor:[\\\"id\\\"],aliases:[\\\"Private\\\"],fields:{id:{validate:(0,i.assertNodeType)(\\\"Identifier\\\")}}}),(0,i.default)(\\\"RecordExpression\\\",{visitor:[\\\"properties\\\"],aliases:[\\\"Expression\\\"],fields:{properties:{validate:(0,i.chain)((0,i.assertValueType)(\\\"array\\\"),(0,i.assertEach)((0,i.assertNodeType)(\\\"ObjectProperty\\\",\\\"SpreadElement\\\")))}}}),(0,i.default)(\\\"TupleExpression\\\",{fields:{elements:{validate:(0,i.chain)((0,i.assertValueType)(\\\"array\\\"),(0,i.assertEach)((0,i.assertNodeType)(\\\"Expression\\\",\\\"SpreadElement\\\"))),default:[]}},visitor:[\\\"elements\\\"],aliases:[\\\"Expression\\\"]}),(0,i.default)(\\\"DecimalLiteral\\\",{builder:[\\\"value\\\"],fields:{value:{validate:(0,i.assertValueType)(\\\"string\\\")}},aliases:[\\\"Expression\\\",\\\"Pureish\\\",\\\"Literal\\\",\\\"Immutable\\\"]}),(0,i.default)(\\\"StaticBlock\\\",{visitor:[\\\"body\\\"],fields:{body:{validate:(0,i.chain)((0,i.assertValueType)(\\\"array\\\"),(0,i.assertEach)((0,i.assertNodeType)(\\\"Statement\\\")))}},aliases:[\\\"Scopable\\\",\\\"BlockParent\\\"]}),(0,i.default)(\\\"ModuleExpression\\\",{visitor:[\\\"body\\\"],fields:{body:{validate:(0,i.assertNodeType)(\\\"Program\\\")}},aliases:[\\\"Expression\\\"]})},2665:(e,t,r)=>{\\\"use strict\\\";var n=r(5455);const i=(e,t=\\\"TypeParameterDeclaration\\\")=>{(0,n.default)(e,{builder:[\\\"id\\\",\\\"typeParameters\\\",\\\"extends\\\",\\\"body\\\"],visitor:[\\\"id\\\",\\\"typeParameters\\\",\\\"extends\\\",\\\"mixins\\\",\\\"implements\\\",\\\"body\\\"],aliases:[\\\"Flow\\\",\\\"FlowDeclaration\\\",\\\"Statement\\\",\\\"Declaration\\\"],fields:{id:(0,n.validateType)(\\\"Identifier\\\"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)(\\\"InterfaceExtends\\\")),mixins:(0,n.validateOptional)((0,n.arrayOfType)(\\\"InterfaceExtends\\\")),implements:(0,n.validateOptional)((0,n.arrayOfType)(\\\"ClassImplements\\\")),body:(0,n.validateType)(\\\"ObjectTypeAnnotation\\\")}})};(0,n.default)(\\\"AnyTypeAnnotation\\\",{aliases:[\\\"Flow\\\",\\\"FlowType\\\",\\\"FlowBaseAnnotation\\\"]}),(0,n.default)(\\\"ArrayTypeAnnotation\\\",{visitor:[\\\"elementType\\\"],aliases:[\\\"Flow\\\",\\\"FlowType\\\"],fields:{elementType:(0,n.validateType)(\\\"FlowType\\\")}}),(0,n.default)(\\\"BooleanTypeAnnotation\\\",{aliases:[\\\"Flow\\\",\\\"FlowType\\\",\\\"FlowBaseAnnotation\\\"]}),(0,n.default)(\\\"BooleanLiteralTypeAnnotation\\\",{builder:[\\\"value\\\"],aliases:[\\\"Flow\\\",\\\"FlowType\\\"],fields:{value:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\"))}}),(0,n.default)(\\\"NullLiteralTypeAnnotation\\\",{aliases:[\\\"Flow\\\",\\\"FlowType\\\",\\\"FlowBaseAnnotation\\\"]}),(0,n.default)(\\\"ClassImplements\\\",{visitor:[\\\"id\\\",\\\"typeParameters\\\"],aliases:[\\\"Flow\\\"],fields:{id:(0,n.validateType)(\\\"Identifier\\\"),typeParameters:(0,n.validateOptionalType)(\\\"TypeParameterInstantiation\\\")}}),i(\\\"DeclareClass\\\"),(0,n.default)(\\\"DeclareFunction\\\",{visitor:[\\\"id\\\"],aliases:[\\\"Flow\\\",\\\"FlowDeclaration\\\",\\\"Statement\\\",\\\"Declaration\\\"],fields:{id:(0,n.validateType)(\\\"Identifier\\\"),predicate:(0,n.validateOptionalType)(\\\"DeclaredPredicate\\\")}}),i(\\\"DeclareInterface\\\"),(0,n.default)(\\\"DeclareModule\\\",{builder:[\\\"id\\\",\\\"body\\\",\\\"kind\\\"],visitor:[\\\"id\\\",\\\"body\\\"],aliases:[\\\"Flow\\\",\\\"FlowDeclaration\\\",\\\"Statement\\\",\\\"Declaration\\\"],fields:{id:(0,n.validateType)([\\\"Identifier\\\",\\\"StringLiteral\\\"]),body:(0,n.validateType)(\\\"BlockStatement\\\"),kind:(0,n.validateOptional)((0,n.assertOneOf)(\\\"CommonJS\\\",\\\"ES\\\"))}}),(0,n.default)(\\\"DeclareModuleExports\\\",{visitor:[\\\"typeAnnotation\\\"],aliases:[\\\"Flow\\\",\\\"FlowDeclaration\\\",\\\"Statement\\\",\\\"Declaration\\\"],fields:{typeAnnotation:(0,n.validateType)(\\\"TypeAnnotation\\\")}}),(0,n.default)(\\\"DeclareTypeAlias\\\",{visitor:[\\\"id\\\",\\\"typeParameters\\\",\\\"right\\\"],aliases:[\\\"Flow\\\",\\\"FlowDeclaration\\\",\\\"Statement\\\",\\\"Declaration\\\"],fields:{id:(0,n.validateType)(\\\"Identifier\\\"),typeParameters:(0,n.validateOptionalType)(\\\"TypeParameterDeclaration\\\"),right:(0,n.validateType)(\\\"FlowType\\\")}}),(0,n.default)(\\\"DeclareOpaqueType\\\",{visitor:[\\\"id\\\",\\\"typeParameters\\\",\\\"supertype\\\"],aliases:[\\\"Flow\\\",\\\"FlowDeclaration\\\",\\\"Statement\\\",\\\"Declaration\\\"],fields:{id:(0,n.validateType)(\\\"Identifier\\\"),typeParameters:(0,n.validateOptionalType)(\\\"TypeParameterDeclaration\\\"),supertype:(0,n.validateOptionalType)(\\\"FlowType\\\")}}),(0,n.default)(\\\"DeclareVariable\\\",{visitor:[\\\"id\\\"],aliases:[\\\"Flow\\\",\\\"FlowDeclaration\\\",\\\"Statement\\\",\\\"Declaration\\\"],fields:{id:(0,n.validateType)(\\\"Identifier\\\")}}),(0,n.default)(\\\"DeclareExportDeclaration\\\",{visitor:[\\\"declaration\\\",\\\"specifiers\\\",\\\"source\\\"],aliases:[\\\"Flow\\\",\\\"FlowDeclaration\\\",\\\"Statement\\\",\\\"Declaration\\\"],fields:{declaration:(0,n.validateOptionalType)(\\\"Flow\\\"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)([\\\"ExportSpecifier\\\",\\\"ExportNamespaceSpecifier\\\"])),source:(0,n.validateOptionalType)(\\\"StringLiteral\\\"),default:(0,n.validateOptional)((0,n.assertValueType)(\\\"boolean\\\"))}}),(0,n.default)(\\\"DeclareExportAllDeclaration\\\",{visitor:[\\\"source\\\"],aliases:[\\\"Flow\\\",\\\"FlowDeclaration\\\",\\\"Statement\\\",\\\"Declaration\\\"],fields:{source:(0,n.validateType)(\\\"StringLiteral\\\"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)(\\\"type\\\",\\\"value\\\"))}}),(0,n.default)(\\\"DeclaredPredicate\\\",{visitor:[\\\"value\\\"],aliases:[\\\"Flow\\\",\\\"FlowPredicate\\\"],fields:{value:(0,n.validateType)(\\\"Flow\\\")}}),(0,n.default)(\\\"ExistsTypeAnnotation\\\",{aliases:[\\\"Flow\\\",\\\"FlowType\\\"]}),(0,n.default)(\\\"FunctionTypeAnnotation\\\",{visitor:[\\\"typeParameters\\\",\\\"params\\\",\\\"rest\\\",\\\"returnType\\\"],aliases:[\\\"Flow\\\",\\\"FlowType\\\"],fields:{typeParameters:(0,n.validateOptionalType)(\\\"TypeParameterDeclaration\\\"),params:(0,n.validate)((0,n.arrayOfType)(\\\"FunctionTypeParam\\\")),rest:(0,n.validateOptionalType)(\\\"FunctionTypeParam\\\"),this:(0,n.validateOptionalType)(\\\"FunctionTypeParam\\\"),returnType:(0,n.validateType)(\\\"FlowType\\\")}}),(0,n.default)(\\\"FunctionTypeParam\\\",{visitor:[\\\"name\\\",\\\"typeAnnotation\\\"],aliases:[\\\"Flow\\\"],fields:{name:(0,n.validateOptionalType)(\\\"Identifier\\\"),typeAnnotation:(0,n.validateType)(\\\"FlowType\\\"),optional:(0,n.validateOptional)((0,n.assertValueType)(\\\"boolean\\\"))}}),(0,n.default)(\\\"GenericTypeAnnotation\\\",{visitor:[\\\"id\\\",\\\"typeParameters\\\"],aliases:[\\\"Flow\\\",\\\"FlowType\\\"],fields:{id:(0,n.validateType)([\\\"Identifier\\\",\\\"QualifiedTypeIdentifier\\\"]),typeParameters:(0,n.validateOptionalType)(\\\"TypeParameterInstantiation\\\")}}),(0,n.default)(\\\"InferredPredicate\\\",{aliases:[\\\"Flow\\\",\\\"FlowPredicate\\\"]}),(0,n.default)(\\\"InterfaceExtends\\\",{visitor:[\\\"id\\\",\\\"typeParameters\\\"],aliases:[\\\"Flow\\\"],fields:{id:(0,n.validateType)([\\\"Identifier\\\",\\\"QualifiedTypeIdentifier\\\"]),typeParameters:(0,n.validateOptionalType)(\\\"TypeParameterInstantiation\\\")}}),i(\\\"InterfaceDeclaration\\\"),(0,n.default)(\\\"InterfaceTypeAnnotation\\\",{visitor:[\\\"extends\\\",\\\"body\\\"],aliases:[\\\"Flow\\\",\\\"FlowType\\\"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)(\\\"InterfaceExtends\\\")),body:(0,n.validateType)(\\\"ObjectTypeAnnotation\\\")}}),(0,n.default)(\\\"IntersectionTypeAnnotation\\\",{visitor:[\\\"types\\\"],aliases:[\\\"Flow\\\",\\\"FlowType\\\"],fields:{types:(0,n.validate)((0,n.arrayOfType)(\\\"FlowType\\\"))}}),(0,n.default)(\\\"MixedTypeAnnotation\\\",{aliases:[\\\"Flow\\\",\\\"FlowType\\\",\\\"FlowBaseAnnotation\\\"]}),(0,n.default)(\\\"EmptyTypeAnnotation\\\",{aliases:[\\\"Flow\\\",\\\"FlowType\\\",\\\"FlowBaseAnnotation\\\"]}),(0,n.default)(\\\"NullableTypeAnnotation\\\",{visitor:[\\\"typeAnnotation\\\"],aliases:[\\\"Flow\\\",\\\"FlowType\\\"],fields:{typeAnnotation:(0,n.validateType)(\\\"FlowType\\\")}}),(0,n.default)(\\\"NumberLiteralTypeAnnotation\\\",{builder:[\\\"value\\\"],aliases:[\\\"Flow\\\",\\\"FlowType\\\"],fields:{value:(0,n.validate)((0,n.assertValueType)(\\\"number\\\"))}}),(0,n.default)(\\\"NumberTypeAnnotation\\\",{aliases:[\\\"Flow\\\",\\\"FlowType\\\",\\\"FlowBaseAnnotation\\\"]}),(0,n.default)(\\\"ObjectTypeAnnotation\\\",{visitor:[\\\"properties\\\",\\\"indexers\\\",\\\"callProperties\\\",\\\"internalSlots\\\"],aliases:[\\\"Flow\\\",\\\"FlowType\\\"],builder:[\\\"properties\\\",\\\"indexers\\\",\\\"callProperties\\\",\\\"internalSlots\\\",\\\"exact\\\"],fields:{properties:(0,n.validate)((0,n.arrayOfType)([\\\"ObjectTypeProperty\\\",\\\"ObjectTypeSpreadProperty\\\"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)(\\\"ObjectTypeIndexer\\\")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)(\\\"ObjectTypeCallProperty\\\")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)(\\\"ObjectTypeInternalSlot\\\")),exact:{validate:(0,n.assertValueType)(\\\"boolean\\\"),default:!1},inexact:(0,n.validateOptional)((0,n.assertValueType)(\\\"boolean\\\"))}}),(0,n.default)(\\\"ObjectTypeInternalSlot\\\",{visitor:[\\\"id\\\",\\\"value\\\",\\\"optional\\\",\\\"static\\\",\\\"method\\\"],aliases:[\\\"Flow\\\",\\\"UserWhitespacable\\\"],fields:{id:(0,n.validateType)(\\\"Identifier\\\"),value:(0,n.validateType)(\\\"FlowType\\\"),optional:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\")),static:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\")),method:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\"))}}),(0,n.default)(\\\"ObjectTypeCallProperty\\\",{visitor:[\\\"value\\\"],aliases:[\\\"Flow\\\",\\\"UserWhitespacable\\\"],fields:{value:(0,n.validateType)(\\\"FlowType\\\"),static:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\"))}}),(0,n.default)(\\\"ObjectTypeIndexer\\\",{visitor:[\\\"id\\\",\\\"key\\\",\\\"value\\\",\\\"variance\\\"],aliases:[\\\"Flow\\\",\\\"UserWhitespacable\\\"],fields:{id:(0,n.validateOptionalType)(\\\"Identifier\\\"),key:(0,n.validateType)(\\\"FlowType\\\"),value:(0,n.validateType)(\\\"FlowType\\\"),static:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\")),variance:(0,n.validateOptionalType)(\\\"Variance\\\")}}),(0,n.default)(\\\"ObjectTypeProperty\\\",{visitor:[\\\"key\\\",\\\"value\\\",\\\"variance\\\"],aliases:[\\\"Flow\\\",\\\"UserWhitespacable\\\"],fields:{key:(0,n.validateType)([\\\"Identifier\\\",\\\"StringLiteral\\\"]),value:(0,n.validateType)(\\\"FlowType\\\"),kind:(0,n.validate)((0,n.assertOneOf)(\\\"init\\\",\\\"get\\\",\\\"set\\\")),static:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\")),proto:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\")),optional:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\")),variance:(0,n.validateOptionalType)(\\\"Variance\\\"),method:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\"))}}),(0,n.default)(\\\"ObjectTypeSpreadProperty\\\",{visitor:[\\\"argument\\\"],aliases:[\\\"Flow\\\",\\\"UserWhitespacable\\\"],fields:{argument:(0,n.validateType)(\\\"FlowType\\\")}}),(0,n.default)(\\\"OpaqueType\\\",{visitor:[\\\"id\\\",\\\"typeParameters\\\",\\\"supertype\\\",\\\"impltype\\\"],aliases:[\\\"Flow\\\",\\\"FlowDeclaration\\\",\\\"Statement\\\",\\\"Declaration\\\"],fields:{id:(0,n.validateType)(\\\"Identifier\\\"),typeParameters:(0,n.validateOptionalType)(\\\"TypeParameterDeclaration\\\"),supertype:(0,n.validateOptionalType)(\\\"FlowType\\\"),impltype:(0,n.validateType)(\\\"FlowType\\\")}}),(0,n.default)(\\\"QualifiedTypeIdentifier\\\",{visitor:[\\\"id\\\",\\\"qualification\\\"],aliases:[\\\"Flow\\\"],fields:{id:(0,n.validateType)(\\\"Identifier\\\"),qualification:(0,n.validateType)([\\\"Identifier\\\",\\\"QualifiedTypeIdentifier\\\"])}}),(0,n.default)(\\\"StringLiteralTypeAnnotation\\\",{builder:[\\\"value\\\"],aliases:[\\\"Flow\\\",\\\"FlowType\\\"],fields:{value:(0,n.validate)((0,n.assertValueType)(\\\"string\\\"))}}),(0,n.default)(\\\"StringTypeAnnotation\\\",{aliases:[\\\"Flow\\\",\\\"FlowType\\\",\\\"FlowBaseAnnotation\\\"]}),(0,n.default)(\\\"SymbolTypeAnnotation\\\",{aliases:[\\\"Flow\\\",\\\"FlowType\\\",\\\"FlowBaseAnnotation\\\"]}),(0,n.default)(\\\"ThisTypeAnnotation\\\",{aliases:[\\\"Flow\\\",\\\"FlowType\\\",\\\"FlowBaseAnnotation\\\"]}),(0,n.default)(\\\"TupleTypeAnnotation\\\",{visitor:[\\\"types\\\"],aliases:[\\\"Flow\\\",\\\"FlowType\\\"],fields:{types:(0,n.validate)((0,n.arrayOfType)(\\\"FlowType\\\"))}}),(0,n.default)(\\\"TypeofTypeAnnotation\\\",{visitor:[\\\"argument\\\"],aliases:[\\\"Flow\\\",\\\"FlowType\\\"],fields:{argument:(0,n.validateType)(\\\"FlowType\\\")}}),(0,n.default)(\\\"TypeAlias\\\",{visitor:[\\\"id\\\",\\\"typeParameters\\\",\\\"right\\\"],aliases:[\\\"Flow\\\",\\\"FlowDeclaration\\\",\\\"Statement\\\",\\\"Declaration\\\"],fields:{id:(0,n.validateType)(\\\"Identifier\\\"),typeParameters:(0,n.validateOptionalType)(\\\"TypeParameterDeclaration\\\"),right:(0,n.validateType)(\\\"FlowType\\\")}}),(0,n.default)(\\\"TypeAnnotation\\\",{aliases:[\\\"Flow\\\"],visitor:[\\\"typeAnnotation\\\"],fields:{typeAnnotation:(0,n.validateType)(\\\"FlowType\\\")}}),(0,n.default)(\\\"TypeCastExpression\\\",{visitor:[\\\"expression\\\",\\\"typeAnnotation\\\"],aliases:[\\\"Flow\\\",\\\"ExpressionWrapper\\\",\\\"Expression\\\"],fields:{expression:(0,n.validateType)(\\\"Expression\\\"),typeAnnotation:(0,n.validateType)(\\\"TypeAnnotation\\\")}}),(0,n.default)(\\\"TypeParameter\\\",{aliases:[\\\"Flow\\\"],visitor:[\\\"bound\\\",\\\"default\\\",\\\"variance\\\"],fields:{name:(0,n.validate)((0,n.assertValueType)(\\\"string\\\")),bound:(0,n.validateOptionalType)(\\\"TypeAnnotation\\\"),default:(0,n.validateOptionalType)(\\\"FlowType\\\"),variance:(0,n.validateOptionalType)(\\\"Variance\\\")}}),(0,n.default)(\\\"TypeParameterDeclaration\\\",{aliases:[\\\"Flow\\\"],visitor:[\\\"params\\\"],fields:{params:(0,n.validate)((0,n.arrayOfType)(\\\"TypeParameter\\\"))}}),(0,n.default)(\\\"TypeParameterInstantiation\\\",{aliases:[\\\"Flow\\\"],visitor:[\\\"params\\\"],fields:{params:(0,n.validate)((0,n.arrayOfType)(\\\"FlowType\\\"))}}),(0,n.default)(\\\"UnionTypeAnnotation\\\",{visitor:[\\\"types\\\"],aliases:[\\\"Flow\\\",\\\"FlowType\\\"],fields:{types:(0,n.validate)((0,n.arrayOfType)(\\\"FlowType\\\"))}}),(0,n.default)(\\\"Variance\\\",{aliases:[\\\"Flow\\\"],builder:[\\\"kind\\\"],fields:{kind:(0,n.validate)((0,n.assertOneOf)(\\\"minus\\\",\\\"plus\\\"))}}),(0,n.default)(\\\"VoidTypeAnnotation\\\",{aliases:[\\\"Flow\\\",\\\"FlowType\\\",\\\"FlowBaseAnnotation\\\"]}),(0,n.default)(\\\"EnumDeclaration\\\",{aliases:[\\\"Statement\\\",\\\"Declaration\\\"],visitor:[\\\"id\\\",\\\"body\\\"],fields:{id:(0,n.validateType)(\\\"Identifier\\\"),body:(0,n.validateType)([\\\"EnumBooleanBody\\\",\\\"EnumNumberBody\\\",\\\"EnumStringBody\\\",\\\"EnumSymbolBody\\\"])}}),(0,n.default)(\\\"EnumBooleanBody\\\",{aliases:[\\\"EnumBody\\\"],visitor:[\\\"members\\\"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\")),members:(0,n.validateArrayOfType)(\\\"EnumBooleanMember\\\"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\"))}}),(0,n.default)(\\\"EnumNumberBody\\\",{aliases:[\\\"EnumBody\\\"],visitor:[\\\"members\\\"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\")),members:(0,n.validateArrayOfType)(\\\"EnumNumberMember\\\"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\"))}}),(0,n.default)(\\\"EnumStringBody\\\",{aliases:[\\\"EnumBody\\\"],visitor:[\\\"members\\\"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\")),members:(0,n.validateArrayOfType)([\\\"EnumStringMember\\\",\\\"EnumDefaultedMember\\\"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\"))}}),(0,n.default)(\\\"EnumSymbolBody\\\",{aliases:[\\\"EnumBody\\\"],visitor:[\\\"members\\\"],fields:{members:(0,n.validateArrayOfType)(\\\"EnumDefaultedMember\\\"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\"))}}),(0,n.default)(\\\"EnumBooleanMember\\\",{aliases:[\\\"EnumMember\\\"],visitor:[\\\"id\\\"],fields:{id:(0,n.validateType)(\\\"Identifier\\\"),init:(0,n.validateType)(\\\"BooleanLiteral\\\")}}),(0,n.default)(\\\"EnumNumberMember\\\",{aliases:[\\\"EnumMember\\\"],visitor:[\\\"id\\\",\\\"init\\\"],fields:{id:(0,n.validateType)(\\\"Identifier\\\"),init:(0,n.validateType)(\\\"NumericLiteral\\\")}}),(0,n.default)(\\\"EnumStringMember\\\",{aliases:[\\\"EnumMember\\\"],visitor:[\\\"id\\\",\\\"init\\\"],fields:{id:(0,n.validateType)(\\\"Identifier\\\"),init:(0,n.validateType)(\\\"StringLiteral\\\")}}),(0,n.default)(\\\"EnumDefaultedMember\\\",{aliases:[\\\"EnumMember\\\"],visitor:[\\\"id\\\"],fields:{id:(0,n.validateType)(\\\"Identifier\\\")}}),(0,n.default)(\\\"IndexedAccessType\\\",{visitor:[\\\"objectType\\\",\\\"indexType\\\"],aliases:[\\\"Flow\\\",\\\"FlowType\\\"],fields:{objectType:(0,n.validateType)(\\\"FlowType\\\"),indexType:(0,n.validateType)(\\\"FlowType\\\")}}),(0,n.default)(\\\"OptionalIndexedAccessType\\\",{visitor:[\\\"objectType\\\",\\\"indexType\\\"],aliases:[\\\"Flow\\\",\\\"FlowType\\\"],fields:{objectType:(0,n.validateType)(\\\"FlowType\\\"),indexType:(0,n.validateType)(\\\"FlowType\\\"),optional:(0,n.validate)((0,n.assertValueType)(\\\"boolean\\\"))}})},1102:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),Object.defineProperty(t,\\\"VISITOR_KEYS\\\",{enumerable:!0,get:function(){return i.VISITOR_KEYS}}),Object.defineProperty(t,\\\"ALIAS_KEYS\\\",{enumerable:!0,get:function(){return i.ALIAS_KEYS}}),Object.defineProperty(t,\\\"FLIPPED_ALIAS_KEYS\\\",{enumerable:!0,get:function(){return i.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(t,\\\"NODE_FIELDS\\\",{enumerable:!0,get:function(){return i.NODE_FIELDS}}),Object.defineProperty(t,\\\"BUILDER_KEYS\\\",{enumerable:!0,get:function(){return i.BUILDER_KEYS}}),Object.defineProperty(t,\\\"DEPRECATED_KEYS\\\",{enumerable:!0,get:function(){return i.DEPRECATED_KEYS}}),Object.defineProperty(t,\\\"NODE_PARENT_VALIDATIONS\\\",{enumerable:!0,get:function(){return i.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(t,\\\"PLACEHOLDERS\\\",{enumerable:!0,get:function(){return s.PLACEHOLDERS}}),Object.defineProperty(t,\\\"PLACEHOLDERS_ALIAS\\\",{enumerable:!0,get:function(){return s.PLACEHOLDERS_ALIAS}}),Object.defineProperty(t,\\\"PLACEHOLDERS_FLIPPED_ALIAS\\\",{enumerable:!0,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}}),t.TYPES=void 0;var n=r(1138);r(9357),r(2665),r(6540),r(511),r(4683),r(2130);var i=r(5455),s=r(6820);n(i.VISITOR_KEYS),n(i.ALIAS_KEYS),n(i.FLIPPED_ALIAS_KEYS),n(i.NODE_FIELDS),n(i.BUILDER_KEYS),n(i.DEPRECATED_KEYS),n(s.PLACEHOLDERS_ALIAS),n(s.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(i.VISITOR_KEYS).concat(Object.keys(i.FLIPPED_ALIAS_KEYS)).concat(Object.keys(i.DEPRECATED_KEYS));t.TYPES=a},6540:(e,t,r)=>{\\\"use strict\\\";var n=r(5455);(0,n.default)(\\\"JSXAttribute\\\",{visitor:[\\\"name\\\",\\\"value\\\"],aliases:[\\\"JSX\\\",\\\"Immutable\\\"],fields:{name:{validate:(0,n.assertNodeType)(\\\"JSXIdentifier\\\",\\\"JSXNamespacedName\\\")},value:{optional:!0,validate:(0,n.assertNodeType)(\\\"JSXElement\\\",\\\"JSXFragment\\\",\\\"StringLiteral\\\",\\\"JSXExpressionContainer\\\")}}}),(0,n.default)(\\\"JSXClosingElement\\\",{visitor:[\\\"name\\\"],aliases:[\\\"JSX\\\",\\\"Immutable\\\"],fields:{name:{validate:(0,n.assertNodeType)(\\\"JSXIdentifier\\\",\\\"JSXMemberExpression\\\",\\\"JSXNamespacedName\\\")}}}),(0,n.default)(\\\"JSXElement\\\",{builder:[\\\"openingElement\\\",\\\"closingElement\\\",\\\"children\\\",\\\"selfClosing\\\"],visitor:[\\\"openingElement\\\",\\\"children\\\",\\\"closingElement\\\"],aliases:[\\\"JSX\\\",\\\"Immutable\\\",\\\"Expression\\\"],fields:{openingElement:{validate:(0,n.assertNodeType)(\\\"JSXOpeningElement\\\")},closingElement:{optional:!0,validate:(0,n.assertNodeType)(\\\"JSXClosingElement\\\")},children:{validate:(0,n.chain)((0,n.assertValueType)(\\\"array\\\"),(0,n.assertEach)((0,n.assertNodeType)(\\\"JSXText\\\",\\\"JSXExpressionContainer\\\",\\\"JSXSpreadChild\\\",\\\"JSXElement\\\",\\\"JSXFragment\\\")))},selfClosing:{validate:(0,n.assertValueType)(\\\"boolean\\\"),optional:!0}}}),(0,n.default)(\\\"JSXEmptyExpression\\\",{aliases:[\\\"JSX\\\"]}),(0,n.default)(\\\"JSXExpressionContainer\\\",{visitor:[\\\"expression\\\"],aliases:[\\\"JSX\\\",\\\"Immutable\\\"],fields:{expression:{validate:(0,n.assertNodeType)(\\\"Expression\\\",\\\"JSXEmptyExpression\\\")}}}),(0,n.default)(\\\"JSXSpreadChild\\\",{visitor:[\\\"expression\\\"],aliases:[\\\"JSX\\\",\\\"Immutable\\\"],fields:{expression:{validate:(0,n.assertNodeType)(\\\"Expression\\\")}}}),(0,n.default)(\\\"JSXIdentifier\\\",{builder:[\\\"name\\\"],aliases:[\\\"JSX\\\"],fields:{name:{validate:(0,n.assertValueType)(\\\"string\\\")}}}),(0,n.default)(\\\"JSXMemberExpression\\\",{visitor:[\\\"object\\\",\\\"property\\\"],aliases:[\\\"JSX\\\"],fields:{object:{validate:(0,n.assertNodeType)(\\\"JSXMemberExpression\\\",\\\"JSXIdentifier\\\")},property:{validate:(0,n.assertNodeType)(\\\"JSXIdentifier\\\")}}}),(0,n.default)(\\\"JSXNamespacedName\\\",{visitor:[\\\"namespace\\\",\\\"name\\\"],aliases:[\\\"JSX\\\"],fields:{namespace:{validate:(0,n.assertNodeType)(\\\"JSXIdentifier\\\")},name:{validate:(0,n.assertNodeType)(\\\"JSXIdentifier\\\")}}}),(0,n.default)(\\\"JSXOpeningElement\\\",{builder:[\\\"name\\\",\\\"attributes\\\",\\\"selfClosing\\\"],visitor:[\\\"name\\\",\\\"attributes\\\"],aliases:[\\\"JSX\\\",\\\"Immutable\\\"],fields:{name:{validate:(0,n.assertNodeType)(\\\"JSXIdentifier\\\",\\\"JSXMemberExpression\\\",\\\"JSXNamespacedName\\\")},selfClosing:{default:!1},attributes:{validate:(0,n.chain)((0,n.assertValueType)(\\\"array\\\"),(0,n.assertEach)((0,n.assertNodeType)(\\\"JSXAttribute\\\",\\\"JSXSpreadAttribute\\\")))},typeParameters:{validate:(0,n.assertNodeType)(\\\"TypeParameterInstantiation\\\",\\\"TSTypeParameterInstantiation\\\"),optional:!0}}}),(0,n.default)(\\\"JSXSpreadAttribute\\\",{visitor:[\\\"argument\\\"],aliases:[\\\"JSX\\\"],fields:{argument:{validate:(0,n.assertNodeType)(\\\"Expression\\\")}}}),(0,n.default)(\\\"JSXText\\\",{aliases:[\\\"JSX\\\",\\\"Immutable\\\"],builder:[\\\"value\\\"],fields:{value:{validate:(0,n.assertValueType)(\\\"string\\\")}}}),(0,n.default)(\\\"JSXFragment\\\",{builder:[\\\"openingFragment\\\",\\\"closingFragment\\\",\\\"children\\\"],visitor:[\\\"openingFragment\\\",\\\"children\\\",\\\"closingFragment\\\"],aliases:[\\\"JSX\\\",\\\"Immutable\\\",\\\"Expression\\\"],fields:{openingFragment:{validate:(0,n.assertNodeType)(\\\"JSXOpeningFragment\\\")},closingFragment:{validate:(0,n.assertNodeType)(\\\"JSXClosingFragment\\\")},children:{validate:(0,n.chain)((0,n.assertValueType)(\\\"array\\\"),(0,n.assertEach)((0,n.assertNodeType)(\\\"JSXText\\\",\\\"JSXExpressionContainer\\\",\\\"JSXSpreadChild\\\",\\\"JSXElement\\\",\\\"JSXFragment\\\")))}}}),(0,n.default)(\\\"JSXOpeningFragment\\\",{aliases:[\\\"JSX\\\",\\\"Immutable\\\"]}),(0,n.default)(\\\"JSXClosingFragment\\\",{aliases:[\\\"JSX\\\",\\\"Immutable\\\"]})},511:(e,t,r)=>{\\\"use strict\\\";var n=r(5455),i=r(6820);(0,n.default)(\\\"Noop\\\",{visitor:[]}),(0,n.default)(\\\"Placeholder\\\",{visitor:[],builder:[\\\"expectedNode\\\",\\\"name\\\"],fields:{name:{validate:(0,n.assertNodeType)(\\\"Identifier\\\")},expectedNode:{validate:(0,n.assertOneOf)(...i.PLACEHOLDERS)}}}),(0,n.default)(\\\"V8IntrinsicIdentifier\\\",{builder:[\\\"name\\\"],fields:{name:{validate:(0,n.assertValueType)(\\\"string\\\")}}})},6820:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(5455);const i=[\\\"Identifier\\\",\\\"StringLiteral\\\",\\\"Expression\\\",\\\"Statement\\\",\\\"Declaration\\\",\\\"BlockStatement\\\",\\\"ClassBody\\\",\\\"Pattern\\\"];t.PLACEHOLDERS=i;const s={Declaration:[\\\"Statement\\\"],Pattern:[\\\"PatternLike\\\",\\\"LVal\\\"]};t.PLACEHOLDERS_ALIAS=s;for(const e of i){const t=n.ALIAS_KEYS[e];null!=t&&t.length&&(s[e]=t)}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a,Object.keys(s).forEach((e=>{s[e].forEach((t=>{Object.hasOwnProperty.call(a,t)||(a[t]=[]),a[t].push(e)}))}))},2130:(e,t,r)=>{\\\"use strict\\\";var n=r(5455),i=r(9357);const s=(0,n.assertValueType)(\\\"boolean\\\"),a={returnType:{validate:(0,n.assertNodeType)(\\\"TSTypeAnnotation\\\",\\\"Noop\\\"),optional:!0},typeParameters:{validate:(0,n.assertNodeType)(\\\"TSTypeParameterDeclaration\\\",\\\"Noop\\\"),optional:!0}};(0,n.default)(\\\"TSParameterProperty\\\",{aliases:[\\\"LVal\\\"],visitor:[\\\"parameter\\\"],fields:{accessibility:{validate:(0,n.assertOneOf)(\\\"public\\\",\\\"private\\\",\\\"protected\\\"),optional:!0},readonly:{validate:(0,n.assertValueType)(\\\"boolean\\\"),optional:!0},parameter:{validate:(0,n.assertNodeType)(\\\"Identifier\\\",\\\"AssignmentPattern\\\")}}}),(0,n.default)(\\\"TSDeclareFunction\\\",{aliases:[\\\"Statement\\\",\\\"Declaration\\\"],visitor:[\\\"id\\\",\\\"typeParameters\\\",\\\"params\\\",\\\"returnType\\\"],fields:Object.assign({},i.functionDeclarationCommon,a)}),(0,n.default)(\\\"TSDeclareMethod\\\",{visitor:[\\\"decorators\\\",\\\"key\\\",\\\"typeParameters\\\",\\\"params\\\",\\\"returnType\\\"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,a)}),(0,n.default)(\\\"TSQualifiedName\\\",{aliases:[\\\"TSEntityName\\\"],visitor:[\\\"left\\\",\\\"right\\\"],fields:{left:(0,n.validateType)(\\\"TSEntityName\\\"),right:(0,n.validateType)(\\\"Identifier\\\")}});const o={typeParameters:(0,n.validateOptionalType)(\\\"TSTypeParameterDeclaration\\\"),parameters:(0,n.validateArrayOfType)([\\\"Identifier\\\",\\\"RestElement\\\"]),typeAnnotation:(0,n.validateOptionalType)(\\\"TSTypeAnnotation\\\")},l={aliases:[\\\"TSTypeElement\\\"],visitor:[\\\"typeParameters\\\",\\\"parameters\\\",\\\"typeAnnotation\\\"],fields:o};(0,n.default)(\\\"TSCallSignatureDeclaration\\\",l),(0,n.default)(\\\"TSConstructSignatureDeclaration\\\",l);const p={key:(0,n.validateType)(\\\"Expression\\\"),computed:(0,n.validate)(s),optional:(0,n.validateOptional)(s)};(0,n.default)(\\\"TSPropertySignature\\\",{aliases:[\\\"TSTypeElement\\\"],visitor:[\\\"key\\\",\\\"typeAnnotation\\\",\\\"initializer\\\"],fields:Object.assign({},p,{readonly:(0,n.validateOptional)(s),typeAnnotation:(0,n.validateOptionalType)(\\\"TSTypeAnnotation\\\"),initializer:(0,n.validateOptionalType)(\\\"Expression\\\")})}),(0,n.default)(\\\"TSMethodSignature\\\",{aliases:[\\\"TSTypeElement\\\"],visitor:[\\\"key\\\",\\\"typeParameters\\\",\\\"parameters\\\",\\\"typeAnnotation\\\"],fields:Object.assign({},o,p,{kind:{validate:(0,n.assertOneOf)(\\\"method\\\",\\\"get\\\",\\\"set\\\")}})}),(0,n.default)(\\\"TSIndexSignature\\\",{aliases:[\\\"TSTypeElement\\\"],visitor:[\\\"parameters\\\",\\\"typeAnnotation\\\"],fields:{readonly:(0,n.validateOptional)(s),static:(0,n.validateOptional)(s),parameters:(0,n.validateArrayOfType)(\\\"Identifier\\\"),typeAnnotation:(0,n.validateOptionalType)(\\\"TSTypeAnnotation\\\")}});const c=[\\\"TSAnyKeyword\\\",\\\"TSBooleanKeyword\\\",\\\"TSBigIntKeyword\\\",\\\"TSIntrinsicKeyword\\\",\\\"TSNeverKeyword\\\",\\\"TSNullKeyword\\\",\\\"TSNumberKeyword\\\",\\\"TSObjectKeyword\\\",\\\"TSStringKeyword\\\",\\\"TSSymbolKeyword\\\",\\\"TSUndefinedKeyword\\\",\\\"TSUnknownKeyword\\\",\\\"TSVoidKeyword\\\"];for(const e of c)(0,n.default)(e,{aliases:[\\\"TSType\\\",\\\"TSBaseType\\\"],visitor:[],fields:{}});(0,n.default)(\\\"TSThisType\\\",{aliases:[\\\"TSType\\\",\\\"TSBaseType\\\"],visitor:[],fields:{}});const u={aliases:[\\\"TSType\\\"],visitor:[\\\"typeParameters\\\",\\\"parameters\\\",\\\"typeAnnotation\\\"]};(0,n.default)(\\\"TSFunctionType\\\",Object.assign({},u,{fields:o})),(0,n.default)(\\\"TSConstructorType\\\",Object.assign({},u,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(s)})})),(0,n.default)(\\\"TSTypeReference\\\",{aliases:[\\\"TSType\\\"],visitor:[\\\"typeName\\\",\\\"typeParameters\\\"],fields:{typeName:(0,n.validateType)(\\\"TSEntityName\\\"),typeParameters:(0,n.validateOptionalType)(\\\"TSTypeParameterInstantiation\\\")}}),(0,n.default)(\\\"TSTypePredicate\\\",{aliases:[\\\"TSType\\\"],visitor:[\\\"parameterName\\\",\\\"typeAnnotation\\\"],builder:[\\\"parameterName\\\",\\\"typeAnnotation\\\",\\\"asserts\\\"],fields:{parameterName:(0,n.validateType)([\\\"Identifier\\\",\\\"TSThisType\\\"]),typeAnnotation:(0,n.validateOptionalType)(\\\"TSTypeAnnotation\\\"),asserts:(0,n.validateOptional)(s)}}),(0,n.default)(\\\"TSTypeQuery\\\",{aliases:[\\\"TSType\\\"],visitor:[\\\"exprName\\\"],fields:{exprName:(0,n.validateType)([\\\"TSEntityName\\\",\\\"TSImportType\\\"])}}),(0,n.default)(\\\"TSTypeLiteral\\\",{aliases:[\\\"TSType\\\"],visitor:[\\\"members\\\"],fields:{members:(0,n.validateArrayOfType)(\\\"TSTypeElement\\\")}}),(0,n.default)(\\\"TSArrayType\\\",{aliases:[\\\"TSType\\\"],visitor:[\\\"elementType\\\"],fields:{elementType:(0,n.validateType)(\\\"TSType\\\")}}),(0,n.default)(\\\"TSTupleType\\\",{aliases:[\\\"TSType\\\"],visitor:[\\\"elementTypes\\\"],fields:{elementTypes:(0,n.validateArrayOfType)([\\\"TSType\\\",\\\"TSNamedTupleMember\\\"])}}),(0,n.default)(\\\"TSOptionalType\\\",{aliases:[\\\"TSType\\\"],visitor:[\\\"typeAnnotation\\\"],fields:{typeAnnotation:(0,n.validateType)(\\\"TSType\\\")}}),(0,n.default)(\\\"TSRestType\\\",{aliases:[\\\"TSType\\\"],visitor:[\\\"typeAnnotation\\\"],fields:{typeAnnotation:(0,n.validateType)(\\\"TSType\\\")}}),(0,n.default)(\\\"TSNamedTupleMember\\\",{visitor:[\\\"label\\\",\\\"elementType\\\"],builder:[\\\"label\\\",\\\"elementType\\\",\\\"optional\\\"],fields:{label:(0,n.validateType)(\\\"Identifier\\\"),optional:{validate:s,default:!1},elementType:(0,n.validateType)(\\\"TSType\\\")}});const d={aliases:[\\\"TSType\\\"],visitor:[\\\"types\\\"],fields:{types:(0,n.validateArrayOfType)(\\\"TSType\\\")}};(0,n.default)(\\\"TSUnionType\\\",d),(0,n.default)(\\\"TSIntersectionType\\\",d),(0,n.default)(\\\"TSConditionalType\\\",{aliases:[\\\"TSType\\\"],visitor:[\\\"checkType\\\",\\\"extendsType\\\",\\\"trueType\\\",\\\"falseType\\\"],fields:{checkType:(0,n.validateType)(\\\"TSType\\\"),extendsType:(0,n.validateType)(\\\"TSType\\\"),trueType:(0,n.validateType)(\\\"TSType\\\"),falseType:(0,n.validateType)(\\\"TSType\\\")}}),(0,n.default)(\\\"TSInferType\\\",{aliases:[\\\"TSType\\\"],visitor:[\\\"typeParameter\\\"],fields:{typeParameter:(0,n.validateType)(\\\"TSTypeParameter\\\")}}),(0,n.default)(\\\"TSParenthesizedType\\\",{aliases:[\\\"TSType\\\"],visitor:[\\\"typeAnnotation\\\"],fields:{typeAnnotation:(0,n.validateType)(\\\"TSType\\\")}}),(0,n.default)(\\\"TSTypeOperator\\\",{aliases:[\\\"TSType\\\"],visitor:[\\\"typeAnnotation\\\"],fields:{operator:(0,n.validate)((0,n.assertValueType)(\\\"string\\\")),typeAnnotation:(0,n.validateType)(\\\"TSType\\\")}}),(0,n.default)(\\\"TSIndexedAccessType\\\",{aliases:[\\\"TSType\\\"],visitor:[\\\"objectType\\\",\\\"indexType\\\"],fields:{objectType:(0,n.validateType)(\\\"TSType\\\"),indexType:(0,n.validateType)(\\\"TSType\\\")}}),(0,n.default)(\\\"TSMappedType\\\",{aliases:[\\\"TSType\\\"],visitor:[\\\"typeParameter\\\",\\\"typeAnnotation\\\",\\\"nameType\\\"],fields:{readonly:(0,n.validateOptional)(s),typeParameter:(0,n.validateType)(\\\"TSTypeParameter\\\"),optional:(0,n.validateOptional)(s),typeAnnotation:(0,n.validateOptionalType)(\\\"TSType\\\"),nameType:(0,n.validateOptionalType)(\\\"TSType\\\")}}),(0,n.default)(\\\"TSLiteralType\\\",{aliases:[\\\"TSType\\\",\\\"TSBaseType\\\"],visitor:[\\\"literal\\\"],fields:{literal:(0,n.validateType)([\\\"NumericLiteral\\\",\\\"StringLiteral\\\",\\\"BooleanLiteral\\\",\\\"BigIntLiteral\\\"])}}),(0,n.default)(\\\"TSExpressionWithTypeArguments\\\",{aliases:[\\\"TSType\\\"],visitor:[\\\"expression\\\",\\\"typeParameters\\\"],fields:{expression:(0,n.validateType)(\\\"TSEntityName\\\"),typeParameters:(0,n.validateOptionalType)(\\\"TSTypeParameterInstantiation\\\")}}),(0,n.default)(\\\"TSInterfaceDeclaration\\\",{aliases:[\\\"Statement\\\",\\\"Declaration\\\"],visitor:[\\\"id\\\",\\\"typeParameters\\\",\\\"extends\\\",\\\"body\\\"],fields:{declare:(0,n.validateOptional)(s),id:(0,n.validateType)(\\\"Identifier\\\"),typeParameters:(0,n.validateOptionalType)(\\\"TSTypeParameterDeclaration\\\"),extends:(0,n.validateOptional)((0,n.arrayOfType)(\\\"TSExpressionWithTypeArguments\\\")),body:(0,n.validateType)(\\\"TSInterfaceBody\\\")}}),(0,n.default)(\\\"TSInterfaceBody\\\",{visitor:[\\\"body\\\"],fields:{body:(0,n.validateArrayOfType)(\\\"TSTypeElement\\\")}}),(0,n.default)(\\\"TSTypeAliasDeclaration\\\",{aliases:[\\\"Statement\\\",\\\"Declaration\\\"],visitor:[\\\"id\\\",\\\"typeParameters\\\",\\\"typeAnnotation\\\"],fields:{declare:(0,n.validateOptional)(s),id:(0,n.validateType)(\\\"Identifier\\\"),typeParameters:(0,n.validateOptionalType)(\\\"TSTypeParameterDeclaration\\\"),typeAnnotation:(0,n.validateType)(\\\"TSType\\\")}}),(0,n.default)(\\\"TSAsExpression\\\",{aliases:[\\\"Expression\\\"],visitor:[\\\"expression\\\",\\\"typeAnnotation\\\"],fields:{expression:(0,n.validateType)(\\\"Expression\\\"),typeAnnotation:(0,n.validateType)(\\\"TSType\\\")}}),(0,n.default)(\\\"TSTypeAssertion\\\",{aliases:[\\\"Expression\\\"],visitor:[\\\"typeAnnotation\\\",\\\"expression\\\"],fields:{typeAnnotation:(0,n.validateType)(\\\"TSType\\\"),expression:(0,n.validateType)(\\\"Expression\\\")}}),(0,n.default)(\\\"TSEnumDeclaration\\\",{aliases:[\\\"Statement\\\",\\\"Declaration\\\"],visitor:[\\\"id\\\",\\\"members\\\"],fields:{declare:(0,n.validateOptional)(s),const:(0,n.validateOptional)(s),id:(0,n.validateType)(\\\"Identifier\\\"),members:(0,n.validateArrayOfType)(\\\"TSEnumMember\\\"),initializer:(0,n.validateOptionalType)(\\\"Expression\\\")}}),(0,n.default)(\\\"TSEnumMember\\\",{visitor:[\\\"id\\\",\\\"initializer\\\"],fields:{id:(0,n.validateType)([\\\"Identifier\\\",\\\"StringLiteral\\\"]),initializer:(0,n.validateOptionalType)(\\\"Expression\\\")}}),(0,n.default)(\\\"TSModuleDeclaration\\\",{aliases:[\\\"Statement\\\",\\\"Declaration\\\"],visitor:[\\\"id\\\",\\\"body\\\"],fields:{declare:(0,n.validateOptional)(s),global:(0,n.validateOptional)(s),id:(0,n.validateType)([\\\"Identifier\\\",\\\"StringLiteral\\\"]),body:(0,n.validateType)([\\\"TSModuleBlock\\\",\\\"TSModuleDeclaration\\\"])}}),(0,n.default)(\\\"TSModuleBlock\\\",{aliases:[\\\"Scopable\\\",\\\"Block\\\",\\\"BlockParent\\\"],visitor:[\\\"body\\\"],fields:{body:(0,n.validateArrayOfType)(\\\"Statement\\\")}}),(0,n.default)(\\\"TSImportType\\\",{aliases:[\\\"TSType\\\"],visitor:[\\\"argument\\\",\\\"qualifier\\\",\\\"typeParameters\\\"],fields:{argument:(0,n.validateType)(\\\"StringLiteral\\\"),qualifier:(0,n.validateOptionalType)(\\\"TSEntityName\\\"),typeParameters:(0,n.validateOptionalType)(\\\"TSTypeParameterInstantiation\\\")}}),(0,n.default)(\\\"TSImportEqualsDeclaration\\\",{aliases:[\\\"Statement\\\"],visitor:[\\\"id\\\",\\\"moduleReference\\\"],fields:{isExport:(0,n.validate)(s),id:(0,n.validateType)(\\\"Identifier\\\"),moduleReference:(0,n.validateType)([\\\"TSEntityName\\\",\\\"TSExternalModuleReference\\\"])}}),(0,n.default)(\\\"TSExternalModuleReference\\\",{visitor:[\\\"expression\\\"],fields:{expression:(0,n.validateType)(\\\"StringLiteral\\\")}}),(0,n.default)(\\\"TSNonNullExpression\\\",{aliases:[\\\"Expression\\\"],visitor:[\\\"expression\\\"],fields:{expression:(0,n.validateType)(\\\"Expression\\\")}}),(0,n.default)(\\\"TSExportAssignment\\\",{aliases:[\\\"Statement\\\"],visitor:[\\\"expression\\\"],fields:{expression:(0,n.validateType)(\\\"Expression\\\")}}),(0,n.default)(\\\"TSNamespaceExportDeclaration\\\",{aliases:[\\\"Statement\\\"],visitor:[\\\"id\\\"],fields:{id:(0,n.validateType)(\\\"Identifier\\\")}}),(0,n.default)(\\\"TSTypeAnnotation\\\",{visitor:[\\\"typeAnnotation\\\"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)(\\\"TSType\\\")}}}),(0,n.default)(\\\"TSTypeParameterInstantiation\\\",{visitor:[\\\"params\\\"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)(\\\"array\\\"),(0,n.assertEach)((0,n.assertNodeType)(\\\"TSType\\\")))}}}),(0,n.default)(\\\"TSTypeParameterDeclaration\\\",{visitor:[\\\"params\\\"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)(\\\"array\\\"),(0,n.assertEach)((0,n.assertNodeType)(\\\"TSTypeParameter\\\")))}}}),(0,n.default)(\\\"TSTypeParameter\\\",{builder:[\\\"constraint\\\",\\\"default\\\",\\\"name\\\"],visitor:[\\\"constraint\\\",\\\"default\\\"],fields:{name:{validate:(0,n.assertValueType)(\\\"string\\\")},constraint:{validate:(0,n.assertNodeType)(\\\"TSType\\\"),optional:!0},default:{validate:(0,n.assertNodeType)(\\\"TSType\\\"),optional:!0}}})},5455:(e,t,r)=>{\\\"use strict\\\";var n=r(397);Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.validate=f,t.typeIs=m,t.validateType=function(e){return f(m(e))},t.validateOptional=function(e){return{validate:e,optional:!0}},t.validateOptionalType=function(e){return{validate:m(e),optional:!0}},t.arrayOf=y,t.arrayOfType=T,t.validateArrayOfType=function(e){return f(T(e))},t.assertEach=b,t.assertOneOf=function(...e){function t(t,r,n){if(e.indexOf(n)<0)throw new TypeError(`Property ${r} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(n)}`)}return t.oneOf=e,t},t.assertNodeType=g,t.assertNodeOrValueType=function(...e){function t(t,r,n){for(const a of e)if(h(n)===a||(0,i.default)(a,n))return void(0,s.validateChild)(t,r,n);throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(null==n?void 0:n.type)}`)}return t.oneOfNodeOrValueTypes=e,t},t.assertValueType=S,t.assertShape=function(e){function t(t,r,n){const i=[];for(const r of Object.keys(e))try{(0,s.validateField)(t,r,n[r],e[r])}catch(e){if(e instanceof TypeError){i.push(e.message);continue}throw e}if(i.length)throw new TypeError(`Property ${r} of ${t.type} expected to have the following:\\\\n${i.join(\\\"\\\\n\\\")}`)}return t.shapeOf=e,t},t.assertOptionalChainStart=function(){return function(e){var t;let r=e;for(;e;){const{type:e}=r;if(\\\"OptionalCallExpression\\\"!==e){if(\\\"OptionalMemberExpression\\\"!==e)break;if(r.optional)return;r=r.object}else{if(r.optional)return;r=r.callee}}throw new TypeError(`Non-optional ${e.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${null==(t=r)?void 0:t.type}`)}},t.chain=x,t.default=function(e,t={}){const r=t.inherits&&v[t.inherits]||{};let n=t.fields;if(!n&&(n={},r.fields)){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t],i=e.default;if(Array.isArray(i)?i.length>0:i&&\\\"object\\\"==typeof i)throw new Error(\\\"field defaults can only be primitives or empty arrays currently\\\");n[t]={default:Array.isArray(i)?[]:i,optional:e.optional,validate:e.validate}}}const i=t.visitor||r.visitor||[],s=t.aliases||r.aliases||[],f=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t))if(-1===E.indexOf(r))throw new Error(`Unknown type option \\\"${r}\\\" on ${e}`);t.deprecatedAlias&&(u[t.deprecatedAlias]=e);for(const e of i.concat(f))n[e]=n[e]||{};for(const t of Object.keys(n)){const r=n[t];void 0!==r.default&&-1===f.indexOf(t)&&(r.optional=!0),void 0===r.default?r.default=null:r.validate||null==r.default||(r.validate=S(h(r.default)));for(const n of Object.keys(r))if(-1===P.indexOf(n))throw new Error(`Unknown field key \\\"${n}\\\" on ${e}.${t}`)}a[e]=t.visitor=i,c[e]=t.builder=f,p[e]=t.fields=n,o[e]=t.aliases=s,s.forEach((t=>{l[t]=l[t]||[],l[t].push(e)})),t.validate&&(d[e]=t.validate),v[e]=t},t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var i=r(5001),s=r(1843);const a={};t.VISITOR_KEYS=a;const o={};t.ALIAS_KEYS=o;const l={};t.FLIPPED_ALIAS_KEYS=l;const p={};t.NODE_FIELDS=p;const c={};t.BUILDER_KEYS=c;const u={};t.DEPRECATED_KEYS=u;const d={};function h(e){return Array.isArray(e)?\\\"array\\\":null===e?\\\"null\\\":typeof e}function f(e){return{validate:e}}function m(e){return\\\"string\\\"==typeof e?g(e):g(...e)}function y(e){return x(S(\\\"array\\\"),b(e))}function T(e){return y(m(e))}function b(e){function t(t,r,i){if(Array.isArray(i))for(let a=0;a=2&&\\\"type\\\"in e[0]&&\\\"array\\\"===e[0].type&&!(\\\"each\\\"in e[1]))throw new Error('An assertValueType(\\\"array\\\") validator can only be followed by an assertEach(...) validator.');return t}t.NODE_PARENT_VALIDATIONS=d;const E=[\\\"aliases\\\",\\\"builder\\\",\\\"deprecatedAlias\\\",\\\"fields\\\",\\\"inherits\\\",\\\"visitor\\\",\\\"validate\\\"],P=[\\\"default\\\",\\\"optional\\\",\\\"validate\\\"],v={}},17:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0});var n={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,toSequenceExpression:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!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};Object.defineProperty(t,\\\"assertNode\\\",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,\\\"createTypeAnnotationBasedOnTypeof\\\",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,\\\"createUnionTypeAnnotation\\\",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,\\\"createFlowUnionType\\\",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,\\\"createTSUnionType\\\",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,\\\"cloneNode\\\",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,\\\"clone\\\",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,\\\"cloneDeep\\\",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,\\\"cloneDeepWithoutLoc\\\",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,\\\"cloneWithoutLoc\\\",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,\\\"addComment\\\",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,\\\"addComments\\\",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,\\\"inheritInnerComments\\\",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,\\\"inheritLeadingComments\\\",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,\\\"inheritsComments\\\",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,\\\"inheritTrailingComments\\\",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,\\\"removeComments\\\",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,\\\"ensureBlock\\\",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,\\\"toBindingIdentifierName\\\",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,\\\"toBlock\\\",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,\\\"toComputedKey\\\",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,\\\"toExpression\\\",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,\\\"toIdentifier\\\",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,\\\"toKeyAlias\\\",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,\\\"toSequenceExpression\\\",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,\\\"toStatement\\\",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,\\\"valueToNode\\\",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,\\\"appendToMemberExpression\\\",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,\\\"inherits\\\",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,\\\"prependToMemberExpression\\\",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,\\\"removeProperties\\\",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,\\\"removePropertiesDeep\\\",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(t,\\\"removeTypeDuplicates\\\",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,\\\"getBindingIdentifiers\\\",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,\\\"getOuterBindingIdentifiers\\\",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,\\\"traverse\\\",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,\\\"traverseFast\\\",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,\\\"shallowEqual\\\",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,\\\"is\\\",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,\\\"isBinding\\\",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,\\\"isBlockScoped\\\",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,\\\"isImmutable\\\",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,\\\"isLet\\\",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(t,\\\"isNode\\\",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(t,\\\"isNodesEquivalent\\\",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,\\\"isPlaceholderType\\\",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(t,\\\"isReferenced\\\",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(t,\\\"isScope\\\",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(t,\\\"isSpecifierDefault\\\",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(t,\\\"isType\\\",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(t,\\\"isValidES3Identifier\\\",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(t,\\\"isValidIdentifier\\\",{enumerable:!0,get:function(){return pe.default}}),Object.defineProperty(t,\\\"isVar\\\",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(t,\\\"matchesPattern\\\",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(t,\\\"validate\\\",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(t,\\\"buildMatchMemberExpression\\\",{enumerable:!0,get:function(){return he.default}}),t.react=void 0;var i=r(1934),s=r(5582),a=r(478),o=r(9278),l=r(2937);Object.keys(l).forEach((function(e){\\\"default\\\"!==e&&\\\"__esModule\\\"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var p=r(7395),c=r(4660),u=r(6998),d=r(1580);Object.keys(d).forEach((function(e){\\\"default\\\"!==e&&\\\"__esModule\\\"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var h=r(6306);Object.keys(h).forEach((function(e){\\\"default\\\"!==e&&\\\"__esModule\\\"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}));var f=r(5833),m=r(7307),y=r(175),T=r(4982),b=r(8743),g=r(6517),S=r(8290),x=r(8267),E=r(4510),P=r(5644),v=r(5042),A=r(6528),w=r(55);Object.keys(w).forEach((function(e){\\\"default\\\"!==e&&\\\"__esModule\\\"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===w[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}}))}));var O=r(2770);Object.keys(O).forEach((function(e){\\\"default\\\"!==e&&\\\"__esModule\\\"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===O[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return O[e]}}))}));var I=r(9176),N=r(7919),C=r(2860),k=r(6e3),D=r(836),_=r(7718),L=r(3240),M=r(4868),j=r(874),F=r(1799),B=r(1102);Object.keys(B).forEach((function(e){\\\"default\\\"!==e&&\\\"__esModule\\\"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===B[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return B[e]}}))}));var R=r(9350),U=r(4758),V=r(1195),K=r(2252),q=r(2271),Y=r(6337),W=r(5337),X=r(210),J=r(9220);Object.keys(J).forEach((function(e){\\\"default\\\"!==e&&\\\"__esModule\\\"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===J[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return J[e]}}))}));var H=r(2829),G=r(4729),z=r(5001),$=r(48),Q=r(7199),Z=r(3261),ee=r(100),te=r(1860),re=r(7190),ne=r(549),ie=r(2954),se=r(5969),ae=r(1422),oe=r(4263),le=r(3902),pe=r(6335),ce=r(7117),ue=r(4185),de=r(1843),he=r(3427),fe=r(3924);Object.keys(fe).forEach((function(e){\\\"default\\\"!==e&&\\\"__esModule\\\"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===fe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return fe[e]}}))}));var me=r(2006);Object.keys(me).forEach((function(e){\\\"default\\\"!==e&&\\\"__esModule\\\"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===me[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return me[e]}}))}));const ye={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=ye},9350:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t,r=!1){return e.object=(0,n.memberExpression)(e.object,e.property,e.computed),e.property=t,e.computed=!!r,e};var n=r(1580)},6337:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function e(t){const r={},s={},a=[],o=[];for(let l=0;l=0)){if((0,n.isAnyTypeAnnotation)(p))return[p];if((0,n.isFlowBaseAnnotation)(p))s[p.type]=p;else if((0,n.isUnionTypeAnnotation)(p))a.indexOf(p.types)<0&&(t=t.concat(p.types),a.push(p.types));else if((0,n.isGenericTypeAnnotation)(p)){const t=i(p.id);if(r[t]){let n=r[t];n.typeParameters?p.typeParameters&&(n.typeParameters.params=e(n.typeParameters.params.concat(p.typeParameters.params))):n=p.typeParameters}else r[t]=p}else o.push(p)}}for(const e of Object.keys(s))o.push(s[e]);for(const e of Object.keys(r))o.push(r[e]);return o};var n=r(3924);function i(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${i(e.qualification)}`}},4758:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional)null==e[r]&&(e[r]=t[r]);for(const r of Object.keys(t))\\\"_\\\"===r[0]&&\\\"__clone\\\"!==r&&(e[r]=t[r]);for(const r of n.INHERIT_KEYS.force)e[r]=t[r];return(0,i.default)(e,t),e};var n=r(2770),i=r(5644)},1195:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t){return e.object=(0,n.memberExpression)(t,e.object),e};var n=r(1580)},2252:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t={}){const r=t.preserveComments?i:s;for(const t of r)null!=e[t]&&(e[t]=void 0);for(const t of Object.keys(e))\\\"_\\\"===t[0]&&null!=e[t]&&(e[t]=void 0);const n=Object.getOwnPropertySymbols(e);for(const t of n)e[t]=null};var n=r(2770);const i=[\\\"tokens\\\",\\\"start\\\",\\\"end\\\",\\\"loc\\\",\\\"raw\\\",\\\"rawValue\\\"],s=n.COMMENT_KEYS.concat([\\\"comments\\\"]).concat(i)},2271:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t){return(0,n.default)(e,i.default,t),e};var n=r(2829),i=r(2252)},7921:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){const t={},r={},i=[],s=[];for(let t=0;t=0)){if((0,n.isTSAnyKeyword)(a))return[a];(0,n.isTSBaseType)(a)?r[a.type]=a:(0,n.isTSUnionType)(a)?i.indexOf(a.types)<0&&(e=e.concat(a.types),i.push(a.types)):s.push(a)}}for(const e of Object.keys(r))s.push(r[e]);for(const e of Object.keys(t))s.push(t[e]);return s};var n=r(3924)},5337:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=i;var n=r(3924);function i(e,t,r){let s=[].concat(e);const a=Object.create(null);for(;s.length;){const e=s.shift();if(!e)continue;const o=i.keys[e.type];if((0,n.isIdentifier)(e))t?(a[e.name]=a[e.name]||[]).push(e):a[e.name]=e;else if(!(0,n.isExportDeclaration)(e)||(0,n.isExportAllDeclaration)(e)){if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e))continue}if(o)for(let t=0;t{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=void 0;var n=r(5337);t.default=function(e,t){return(0,n.default)(e,t,!0)}},9220:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t,r){\\\"function\\\"==typeof t&&(t={enter:t});const{enter:n,exit:s}=t;i(e,n,s,r,[])};var n=r(1102);function i(e,t,r,s,a){const o=n.VISITOR_KEYS[e.type];if(o){t&&t(e,a,s);for(const n of o){const o=e[n];if(Array.isArray(o))for(let l=0;l{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function e(t,r,i){if(!t)return;const s=n.VISITOR_KEYS[t.type];if(s){r(t,i=i||{});for(const n of s){const s=t[n];if(Array.isArray(s))for(const t of s)e(t,r,i);else e(s,r,i)}}};var n=r(1102)},3746:(e,t)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t,r){t&&r&&(t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean))))}},5908:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t){const r=e.value.split(/\\\\r\\\\n|\\\\n|\\\\r/);let i=0;for(let e=0;e{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t){const r=Object.keys(t);for(const n of r)if(e[n]!==t[n])return!1;return!0}},3427:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t){const r=e.split(\\\".\\\");return e=>(0,n.default)(e,r,t)};var n=r(4185)},3924:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.isArrayExpression=function(e,t){return!!e&&(\\\"ArrayExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isAssignmentExpression=function(e,t){return!!e&&(\\\"AssignmentExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isBinaryExpression=function(e,t){return!!e&&(\\\"BinaryExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isInterpreterDirective=function(e,t){return!!e&&(\\\"InterpreterDirective\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDirective=function(e,t){return!!e&&(\\\"Directive\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDirectiveLiteral=function(e,t){return!!e&&(\\\"DirectiveLiteral\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isBlockStatement=function(e,t){return!!e&&(\\\"BlockStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isBreakStatement=function(e,t){return!!e&&(\\\"BreakStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isCallExpression=function(e,t){return!!e&&(\\\"CallExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isCatchClause=function(e,t){return!!e&&(\\\"CatchClause\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isConditionalExpression=function(e,t){return!!e&&(\\\"ConditionalExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isContinueStatement=function(e,t){return!!e&&(\\\"ContinueStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDebuggerStatement=function(e,t){return!!e&&(\\\"DebuggerStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDoWhileStatement=function(e,t){return!!e&&(\\\"DoWhileStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isEmptyStatement=function(e,t){return!!e&&(\\\"EmptyStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isExpressionStatement=function(e,t){return!!e&&(\\\"ExpressionStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isFile=function(e,t){return!!e&&(\\\"File\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isForInStatement=function(e,t){return!!e&&(\\\"ForInStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isForStatement=function(e,t){return!!e&&(\\\"ForStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isFunctionDeclaration=function(e,t){return!!e&&(\\\"FunctionDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isFunctionExpression=function(e,t){return!!e&&(\\\"FunctionExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isIdentifier=function(e,t){return!!e&&(\\\"Identifier\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isIfStatement=function(e,t){return!!e&&(\\\"IfStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isLabeledStatement=function(e,t){return!!e&&(\\\"LabeledStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isStringLiteral=function(e,t){return!!e&&(\\\"StringLiteral\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isNumericLiteral=function(e,t){return!!e&&(\\\"NumericLiteral\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isNullLiteral=function(e,t){return!!e&&(\\\"NullLiteral\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isBooleanLiteral=function(e,t){return!!e&&(\\\"BooleanLiteral\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isRegExpLiteral=function(e,t){return!!e&&(\\\"RegExpLiteral\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isLogicalExpression=function(e,t){return!!e&&(\\\"LogicalExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isMemberExpression=function(e,t){return!!e&&(\\\"MemberExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isNewExpression=function(e,t){return!!e&&(\\\"NewExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isProgram=function(e,t){return!!e&&(\\\"Program\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isObjectExpression=function(e,t){return!!e&&(\\\"ObjectExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isObjectMethod=function(e,t){return!!e&&(\\\"ObjectMethod\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isObjectProperty=function(e,t){return!!e&&(\\\"ObjectProperty\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isRestElement=function(e,t){return!!e&&(\\\"RestElement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isReturnStatement=function(e,t){return!!e&&(\\\"ReturnStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isSequenceExpression=function(e,t){return!!e&&(\\\"SequenceExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isParenthesizedExpression=function(e,t){return!!e&&(\\\"ParenthesizedExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isSwitchCase=function(e,t){return!!e&&(\\\"SwitchCase\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isSwitchStatement=function(e,t){return!!e&&(\\\"SwitchStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isThisExpression=function(e,t){return!!e&&(\\\"ThisExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isThrowStatement=function(e,t){return!!e&&(\\\"ThrowStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTryStatement=function(e,t){return!!e&&(\\\"TryStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isUnaryExpression=function(e,t){return!!e&&(\\\"UnaryExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isUpdateExpression=function(e,t){return!!e&&(\\\"UpdateExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isVariableDeclaration=function(e,t){return!!e&&(\\\"VariableDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isVariableDeclarator=function(e,t){return!!e&&(\\\"VariableDeclarator\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isWhileStatement=function(e,t){return!!e&&(\\\"WhileStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isWithStatement=function(e,t){return!!e&&(\\\"WithStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isAssignmentPattern=function(e,t){return!!e&&(\\\"AssignmentPattern\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isArrayPattern=function(e,t){return!!e&&(\\\"ArrayPattern\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isArrowFunctionExpression=function(e,t){return!!e&&(\\\"ArrowFunctionExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isClassBody=function(e,t){return!!e&&(\\\"ClassBody\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isClassExpression=function(e,t){return!!e&&(\\\"ClassExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isClassDeclaration=function(e,t){return!!e&&(\\\"ClassDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isExportAllDeclaration=function(e,t){return!!e&&(\\\"ExportAllDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isExportDefaultDeclaration=function(e,t){return!!e&&(\\\"ExportDefaultDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isExportNamedDeclaration=function(e,t){return!!e&&(\\\"ExportNamedDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isExportSpecifier=function(e,t){return!!e&&(\\\"ExportSpecifier\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isForOfStatement=function(e,t){return!!e&&(\\\"ForOfStatement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isImportDeclaration=function(e,t){return!!e&&(\\\"ImportDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isImportDefaultSpecifier=function(e,t){return!!e&&(\\\"ImportDefaultSpecifier\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isImportNamespaceSpecifier=function(e,t){return!!e&&(\\\"ImportNamespaceSpecifier\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isImportSpecifier=function(e,t){return!!e&&(\\\"ImportSpecifier\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isMetaProperty=function(e,t){return!!e&&(\\\"MetaProperty\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isClassMethod=function(e,t){return!!e&&(\\\"ClassMethod\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isObjectPattern=function(e,t){return!!e&&(\\\"ObjectPattern\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isSpreadElement=function(e,t){return!!e&&(\\\"SpreadElement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isSuper=function(e,t){return!!e&&(\\\"Super\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTaggedTemplateExpression=function(e,t){return!!e&&(\\\"TaggedTemplateExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTemplateElement=function(e,t){return!!e&&(\\\"TemplateElement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTemplateLiteral=function(e,t){return!!e&&(\\\"TemplateLiteral\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isYieldExpression=function(e,t){return!!e&&(\\\"YieldExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isAwaitExpression=function(e,t){return!!e&&(\\\"AwaitExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isImport=function(e,t){return!!e&&(\\\"Import\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isBigIntLiteral=function(e,t){return!!e&&(\\\"BigIntLiteral\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isExportNamespaceSpecifier=function(e,t){return!!e&&(\\\"ExportNamespaceSpecifier\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isOptionalMemberExpression=function(e,t){return!!e&&(\\\"OptionalMemberExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isOptionalCallExpression=function(e,t){return!!e&&(\\\"OptionalCallExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isAnyTypeAnnotation=function(e,t){return!!e&&(\\\"AnyTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isArrayTypeAnnotation=function(e,t){return!!e&&(\\\"ArrayTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isBooleanTypeAnnotation=function(e,t){return!!e&&(\\\"BooleanTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isBooleanLiteralTypeAnnotation=function(e,t){return!!e&&(\\\"BooleanLiteralTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isNullLiteralTypeAnnotation=function(e,t){return!!e&&(\\\"NullLiteralTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isClassImplements=function(e,t){return!!e&&(\\\"ClassImplements\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDeclareClass=function(e,t){return!!e&&(\\\"DeclareClass\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDeclareFunction=function(e,t){return!!e&&(\\\"DeclareFunction\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDeclareInterface=function(e,t){return!!e&&(\\\"DeclareInterface\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDeclareModule=function(e,t){return!!e&&(\\\"DeclareModule\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDeclareModuleExports=function(e,t){return!!e&&(\\\"DeclareModuleExports\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDeclareTypeAlias=function(e,t){return!!e&&(\\\"DeclareTypeAlias\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDeclareOpaqueType=function(e,t){return!!e&&(\\\"DeclareOpaqueType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDeclareVariable=function(e,t){return!!e&&(\\\"DeclareVariable\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDeclareExportDeclaration=function(e,t){return!!e&&(\\\"DeclareExportDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDeclareExportAllDeclaration=function(e,t){return!!e&&(\\\"DeclareExportAllDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDeclaredPredicate=function(e,t){return!!e&&(\\\"DeclaredPredicate\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isExistsTypeAnnotation=function(e,t){return!!e&&(\\\"ExistsTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isFunctionTypeAnnotation=function(e,t){return!!e&&(\\\"FunctionTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isFunctionTypeParam=function(e,t){return!!e&&(\\\"FunctionTypeParam\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isGenericTypeAnnotation=function(e,t){return!!e&&(\\\"GenericTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isInferredPredicate=function(e,t){return!!e&&(\\\"InferredPredicate\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isInterfaceExtends=function(e,t){return!!e&&(\\\"InterfaceExtends\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isInterfaceDeclaration=function(e,t){return!!e&&(\\\"InterfaceDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isInterfaceTypeAnnotation=function(e,t){return!!e&&(\\\"InterfaceTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isIntersectionTypeAnnotation=function(e,t){return!!e&&(\\\"IntersectionTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isMixedTypeAnnotation=function(e,t){return!!e&&(\\\"MixedTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isEmptyTypeAnnotation=function(e,t){return!!e&&(\\\"EmptyTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isNullableTypeAnnotation=function(e,t){return!!e&&(\\\"NullableTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isNumberLiteralTypeAnnotation=function(e,t){return!!e&&(\\\"NumberLiteralTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isNumberTypeAnnotation=function(e,t){return!!e&&(\\\"NumberTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isObjectTypeAnnotation=function(e,t){return!!e&&(\\\"ObjectTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isObjectTypeInternalSlot=function(e,t){return!!e&&(\\\"ObjectTypeInternalSlot\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isObjectTypeCallProperty=function(e,t){return!!e&&(\\\"ObjectTypeCallProperty\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isObjectTypeIndexer=function(e,t){return!!e&&(\\\"ObjectTypeIndexer\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isObjectTypeProperty=function(e,t){return!!e&&(\\\"ObjectTypeProperty\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isObjectTypeSpreadProperty=function(e,t){return!!e&&(\\\"ObjectTypeSpreadProperty\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isOpaqueType=function(e,t){return!!e&&(\\\"OpaqueType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isQualifiedTypeIdentifier=function(e,t){return!!e&&(\\\"QualifiedTypeIdentifier\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isStringLiteralTypeAnnotation=function(e,t){return!!e&&(\\\"StringLiteralTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isStringTypeAnnotation=function(e,t){return!!e&&(\\\"StringTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isSymbolTypeAnnotation=function(e,t){return!!e&&(\\\"SymbolTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isThisTypeAnnotation=function(e,t){return!!e&&(\\\"ThisTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTupleTypeAnnotation=function(e,t){return!!e&&(\\\"TupleTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTypeofTypeAnnotation=function(e,t){return!!e&&(\\\"TypeofTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTypeAlias=function(e,t){return!!e&&(\\\"TypeAlias\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTypeAnnotation=function(e,t){return!!e&&(\\\"TypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTypeCastExpression=function(e,t){return!!e&&(\\\"TypeCastExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTypeParameter=function(e,t){return!!e&&(\\\"TypeParameter\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTypeParameterDeclaration=function(e,t){return!!e&&(\\\"TypeParameterDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTypeParameterInstantiation=function(e,t){return!!e&&(\\\"TypeParameterInstantiation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isUnionTypeAnnotation=function(e,t){return!!e&&(\\\"UnionTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isVariance=function(e,t){return!!e&&(\\\"Variance\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isVoidTypeAnnotation=function(e,t){return!!e&&(\\\"VoidTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isEnumDeclaration=function(e,t){return!!e&&(\\\"EnumDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isEnumBooleanBody=function(e,t){return!!e&&(\\\"EnumBooleanBody\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isEnumNumberBody=function(e,t){return!!e&&(\\\"EnumNumberBody\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isEnumStringBody=function(e,t){return!!e&&(\\\"EnumStringBody\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isEnumSymbolBody=function(e,t){return!!e&&(\\\"EnumSymbolBody\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isEnumBooleanMember=function(e,t){return!!e&&(\\\"EnumBooleanMember\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isEnumNumberMember=function(e,t){return!!e&&(\\\"EnumNumberMember\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isEnumStringMember=function(e,t){return!!e&&(\\\"EnumStringMember\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isEnumDefaultedMember=function(e,t){return!!e&&(\\\"EnumDefaultedMember\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isIndexedAccessType=function(e,t){return!!e&&(\\\"IndexedAccessType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isOptionalIndexedAccessType=function(e,t){return!!e&&(\\\"OptionalIndexedAccessType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isJSXAttribute=function(e,t){return!!e&&(\\\"JSXAttribute\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isJSXClosingElement=function(e,t){return!!e&&(\\\"JSXClosingElement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isJSXElement=function(e,t){return!!e&&(\\\"JSXElement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isJSXEmptyExpression=function(e,t){return!!e&&(\\\"JSXEmptyExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isJSXExpressionContainer=function(e,t){return!!e&&(\\\"JSXExpressionContainer\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isJSXSpreadChild=function(e,t){return!!e&&(\\\"JSXSpreadChild\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isJSXIdentifier=function(e,t){return!!e&&(\\\"JSXIdentifier\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isJSXMemberExpression=function(e,t){return!!e&&(\\\"JSXMemberExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isJSXNamespacedName=function(e,t){return!!e&&(\\\"JSXNamespacedName\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isJSXOpeningElement=function(e,t){return!!e&&(\\\"JSXOpeningElement\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isJSXSpreadAttribute=function(e,t){return!!e&&(\\\"JSXSpreadAttribute\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isJSXText=function(e,t){return!!e&&(\\\"JSXText\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isJSXFragment=function(e,t){return!!e&&(\\\"JSXFragment\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isJSXOpeningFragment=function(e,t){return!!e&&(\\\"JSXOpeningFragment\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isJSXClosingFragment=function(e,t){return!!e&&(\\\"JSXClosingFragment\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isNoop=function(e,t){return!!e&&(\\\"Noop\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isPlaceholder=function(e,t){return!!e&&(\\\"Placeholder\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isV8IntrinsicIdentifier=function(e,t){return!!e&&(\\\"V8IntrinsicIdentifier\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isArgumentPlaceholder=function(e,t){return!!e&&(\\\"ArgumentPlaceholder\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isBindExpression=function(e,t){return!!e&&(\\\"BindExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isClassProperty=function(e,t){return!!e&&(\\\"ClassProperty\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isPipelineTopicExpression=function(e,t){return!!e&&(\\\"PipelineTopicExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isPipelineBareFunction=function(e,t){return!!e&&(\\\"PipelineBareFunction\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isPipelinePrimaryTopicReference=function(e,t){return!!e&&(\\\"PipelinePrimaryTopicReference\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isClassPrivateProperty=function(e,t){return!!e&&(\\\"ClassPrivateProperty\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isClassPrivateMethod=function(e,t){return!!e&&(\\\"ClassPrivateMethod\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isImportAttribute=function(e,t){return!!e&&(\\\"ImportAttribute\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDecorator=function(e,t){return!!e&&(\\\"Decorator\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDoExpression=function(e,t){return!!e&&(\\\"DoExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isExportDefaultSpecifier=function(e,t){return!!e&&(\\\"ExportDefaultSpecifier\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isPrivateName=function(e,t){return!!e&&(\\\"PrivateName\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isRecordExpression=function(e,t){return!!e&&(\\\"RecordExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTupleExpression=function(e,t){return!!e&&(\\\"TupleExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isDecimalLiteral=function(e,t){return!!e&&(\\\"DecimalLiteral\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isStaticBlock=function(e,t){return!!e&&(\\\"StaticBlock\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isModuleExpression=function(e,t){return!!e&&(\\\"ModuleExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSParameterProperty=function(e,t){return!!e&&(\\\"TSParameterProperty\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSDeclareFunction=function(e,t){return!!e&&(\\\"TSDeclareFunction\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSDeclareMethod=function(e,t){return!!e&&(\\\"TSDeclareMethod\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSQualifiedName=function(e,t){return!!e&&(\\\"TSQualifiedName\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSCallSignatureDeclaration=function(e,t){return!!e&&(\\\"TSCallSignatureDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSConstructSignatureDeclaration=function(e,t){return!!e&&(\\\"TSConstructSignatureDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSPropertySignature=function(e,t){return!!e&&(\\\"TSPropertySignature\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSMethodSignature=function(e,t){return!!e&&(\\\"TSMethodSignature\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSIndexSignature=function(e,t){return!!e&&(\\\"TSIndexSignature\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSAnyKeyword=function(e,t){return!!e&&(\\\"TSAnyKeyword\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSBooleanKeyword=function(e,t){return!!e&&(\\\"TSBooleanKeyword\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSBigIntKeyword=function(e,t){return!!e&&(\\\"TSBigIntKeyword\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSIntrinsicKeyword=function(e,t){return!!e&&(\\\"TSIntrinsicKeyword\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSNeverKeyword=function(e,t){return!!e&&(\\\"TSNeverKeyword\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSNullKeyword=function(e,t){return!!e&&(\\\"TSNullKeyword\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSNumberKeyword=function(e,t){return!!e&&(\\\"TSNumberKeyword\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSObjectKeyword=function(e,t){return!!e&&(\\\"TSObjectKeyword\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSStringKeyword=function(e,t){return!!e&&(\\\"TSStringKeyword\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSSymbolKeyword=function(e,t){return!!e&&(\\\"TSSymbolKeyword\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSUndefinedKeyword=function(e,t){return!!e&&(\\\"TSUndefinedKeyword\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSUnknownKeyword=function(e,t){return!!e&&(\\\"TSUnknownKeyword\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSVoidKeyword=function(e,t){return!!e&&(\\\"TSVoidKeyword\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSThisType=function(e,t){return!!e&&(\\\"TSThisType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSFunctionType=function(e,t){return!!e&&(\\\"TSFunctionType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSConstructorType=function(e,t){return!!e&&(\\\"TSConstructorType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSTypeReference=function(e,t){return!!e&&(\\\"TSTypeReference\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSTypePredicate=function(e,t){return!!e&&(\\\"TSTypePredicate\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSTypeQuery=function(e,t){return!!e&&(\\\"TSTypeQuery\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSTypeLiteral=function(e,t){return!!e&&(\\\"TSTypeLiteral\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSArrayType=function(e,t){return!!e&&(\\\"TSArrayType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSTupleType=function(e,t){return!!e&&(\\\"TSTupleType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSOptionalType=function(e,t){return!!e&&(\\\"TSOptionalType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSRestType=function(e,t){return!!e&&(\\\"TSRestType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSNamedTupleMember=function(e,t){return!!e&&(\\\"TSNamedTupleMember\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSUnionType=function(e,t){return!!e&&(\\\"TSUnionType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSIntersectionType=function(e,t){return!!e&&(\\\"TSIntersectionType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSConditionalType=function(e,t){return!!e&&(\\\"TSConditionalType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSInferType=function(e,t){return!!e&&(\\\"TSInferType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSParenthesizedType=function(e,t){return!!e&&(\\\"TSParenthesizedType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSTypeOperator=function(e,t){return!!e&&(\\\"TSTypeOperator\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSIndexedAccessType=function(e,t){return!!e&&(\\\"TSIndexedAccessType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSMappedType=function(e,t){return!!e&&(\\\"TSMappedType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSLiteralType=function(e,t){return!!e&&(\\\"TSLiteralType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSExpressionWithTypeArguments=function(e,t){return!!e&&(\\\"TSExpressionWithTypeArguments\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSInterfaceDeclaration=function(e,t){return!!e&&(\\\"TSInterfaceDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSInterfaceBody=function(e,t){return!!e&&(\\\"TSInterfaceBody\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSTypeAliasDeclaration=function(e,t){return!!e&&(\\\"TSTypeAliasDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSAsExpression=function(e,t){return!!e&&(\\\"TSAsExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSTypeAssertion=function(e,t){return!!e&&(\\\"TSTypeAssertion\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSEnumDeclaration=function(e,t){return!!e&&(\\\"TSEnumDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSEnumMember=function(e,t){return!!e&&(\\\"TSEnumMember\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSModuleDeclaration=function(e,t){return!!e&&(\\\"TSModuleDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSModuleBlock=function(e,t){return!!e&&(\\\"TSModuleBlock\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSImportType=function(e,t){return!!e&&(\\\"TSImportType\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSImportEqualsDeclaration=function(e,t){return!!e&&(\\\"TSImportEqualsDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSExternalModuleReference=function(e,t){return!!e&&(\\\"TSExternalModuleReference\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSNonNullExpression=function(e,t){return!!e&&(\\\"TSNonNullExpression\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSExportAssignment=function(e,t){return!!e&&(\\\"TSExportAssignment\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSNamespaceExportDeclaration=function(e,t){return!!e&&(\\\"TSNamespaceExportDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSTypeAnnotation=function(e,t){return!!e&&(\\\"TSTypeAnnotation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSTypeParameterInstantiation=function(e,t){return!!e&&(\\\"TSTypeParameterInstantiation\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSTypeParameterDeclaration=function(e,t){return!!e&&(\\\"TSTypeParameterDeclaration\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isTSTypeParameter=function(e,t){return!!e&&(\\\"TSTypeParameter\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isExpression=function(e,t){if(!e)return!1;const r=e.type;return(\\\"ArrayExpression\\\"===r||\\\"AssignmentExpression\\\"===r||\\\"BinaryExpression\\\"===r||\\\"CallExpression\\\"===r||\\\"ConditionalExpression\\\"===r||\\\"FunctionExpression\\\"===r||\\\"Identifier\\\"===r||\\\"StringLiteral\\\"===r||\\\"NumericLiteral\\\"===r||\\\"NullLiteral\\\"===r||\\\"BooleanLiteral\\\"===r||\\\"RegExpLiteral\\\"===r||\\\"LogicalExpression\\\"===r||\\\"MemberExpression\\\"===r||\\\"NewExpression\\\"===r||\\\"ObjectExpression\\\"===r||\\\"SequenceExpression\\\"===r||\\\"ParenthesizedExpression\\\"===r||\\\"ThisExpression\\\"===r||\\\"UnaryExpression\\\"===r||\\\"UpdateExpression\\\"===r||\\\"ArrowFunctionExpression\\\"===r||\\\"ClassExpression\\\"===r||\\\"MetaProperty\\\"===r||\\\"Super\\\"===r||\\\"TaggedTemplateExpression\\\"===r||\\\"TemplateLiteral\\\"===r||\\\"YieldExpression\\\"===r||\\\"AwaitExpression\\\"===r||\\\"Import\\\"===r||\\\"BigIntLiteral\\\"===r||\\\"OptionalMemberExpression\\\"===r||\\\"OptionalCallExpression\\\"===r||\\\"TypeCastExpression\\\"===r||\\\"JSXElement\\\"===r||\\\"JSXFragment\\\"===r||\\\"BindExpression\\\"===r||\\\"PipelinePrimaryTopicReference\\\"===r||\\\"DoExpression\\\"===r||\\\"RecordExpression\\\"===r||\\\"TupleExpression\\\"===r||\\\"DecimalLiteral\\\"===r||\\\"ModuleExpression\\\"===r||\\\"TSAsExpression\\\"===r||\\\"TSTypeAssertion\\\"===r||\\\"TSNonNullExpression\\\"===r||\\\"Placeholder\\\"===r&&(\\\"Expression\\\"===e.expectedNode||\\\"Identifier\\\"===e.expectedNode||\\\"StringLiteral\\\"===e.expectedNode))&&(void 0===t||(0,n.default)(e,t))},t.isBinary=function(e,t){if(!e)return!1;const r=e.type;return(\\\"BinaryExpression\\\"===r||\\\"LogicalExpression\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isScopable=function(e,t){if(!e)return!1;const r=e.type;return(\\\"BlockStatement\\\"===r||\\\"CatchClause\\\"===r||\\\"DoWhileStatement\\\"===r||\\\"ForInStatement\\\"===r||\\\"ForStatement\\\"===r||\\\"FunctionDeclaration\\\"===r||\\\"FunctionExpression\\\"===r||\\\"Program\\\"===r||\\\"ObjectMethod\\\"===r||\\\"SwitchStatement\\\"===r||\\\"WhileStatement\\\"===r||\\\"ArrowFunctionExpression\\\"===r||\\\"ClassExpression\\\"===r||\\\"ClassDeclaration\\\"===r||\\\"ForOfStatement\\\"===r||\\\"ClassMethod\\\"===r||\\\"ClassPrivateMethod\\\"===r||\\\"StaticBlock\\\"===r||\\\"TSModuleBlock\\\"===r||\\\"Placeholder\\\"===r&&\\\"BlockStatement\\\"===e.expectedNode)&&(void 0===t||(0,n.default)(e,t))},t.isBlockParent=function(e,t){if(!e)return!1;const r=e.type;return(\\\"BlockStatement\\\"===r||\\\"CatchClause\\\"===r||\\\"DoWhileStatement\\\"===r||\\\"ForInStatement\\\"===r||\\\"ForStatement\\\"===r||\\\"FunctionDeclaration\\\"===r||\\\"FunctionExpression\\\"===r||\\\"Program\\\"===r||\\\"ObjectMethod\\\"===r||\\\"SwitchStatement\\\"===r||\\\"WhileStatement\\\"===r||\\\"ArrowFunctionExpression\\\"===r||\\\"ForOfStatement\\\"===r||\\\"ClassMethod\\\"===r||\\\"ClassPrivateMethod\\\"===r||\\\"StaticBlock\\\"===r||\\\"TSModuleBlock\\\"===r||\\\"Placeholder\\\"===r&&\\\"BlockStatement\\\"===e.expectedNode)&&(void 0===t||(0,n.default)(e,t))},t.isBlock=function(e,t){if(!e)return!1;const r=e.type;return(\\\"BlockStatement\\\"===r||\\\"Program\\\"===r||\\\"TSModuleBlock\\\"===r||\\\"Placeholder\\\"===r&&\\\"BlockStatement\\\"===e.expectedNode)&&(void 0===t||(0,n.default)(e,t))},t.isStatement=function(e,t){if(!e)return!1;const r=e.type;return(\\\"BlockStatement\\\"===r||\\\"BreakStatement\\\"===r||\\\"ContinueStatement\\\"===r||\\\"DebuggerStatement\\\"===r||\\\"DoWhileStatement\\\"===r||\\\"EmptyStatement\\\"===r||\\\"ExpressionStatement\\\"===r||\\\"ForInStatement\\\"===r||\\\"ForStatement\\\"===r||\\\"FunctionDeclaration\\\"===r||\\\"IfStatement\\\"===r||\\\"LabeledStatement\\\"===r||\\\"ReturnStatement\\\"===r||\\\"SwitchStatement\\\"===r||\\\"ThrowStatement\\\"===r||\\\"TryStatement\\\"===r||\\\"VariableDeclaration\\\"===r||\\\"WhileStatement\\\"===r||\\\"WithStatement\\\"===r||\\\"ClassDeclaration\\\"===r||\\\"ExportAllDeclaration\\\"===r||\\\"ExportDefaultDeclaration\\\"===r||\\\"ExportNamedDeclaration\\\"===r||\\\"ForOfStatement\\\"===r||\\\"ImportDeclaration\\\"===r||\\\"DeclareClass\\\"===r||\\\"DeclareFunction\\\"===r||\\\"DeclareInterface\\\"===r||\\\"DeclareModule\\\"===r||\\\"DeclareModuleExports\\\"===r||\\\"DeclareTypeAlias\\\"===r||\\\"DeclareOpaqueType\\\"===r||\\\"DeclareVariable\\\"===r||\\\"DeclareExportDeclaration\\\"===r||\\\"DeclareExportAllDeclaration\\\"===r||\\\"InterfaceDeclaration\\\"===r||\\\"OpaqueType\\\"===r||\\\"TypeAlias\\\"===r||\\\"EnumDeclaration\\\"===r||\\\"TSDeclareFunction\\\"===r||\\\"TSInterfaceDeclaration\\\"===r||\\\"TSTypeAliasDeclaration\\\"===r||\\\"TSEnumDeclaration\\\"===r||\\\"TSModuleDeclaration\\\"===r||\\\"TSImportEqualsDeclaration\\\"===r||\\\"TSExportAssignment\\\"===r||\\\"TSNamespaceExportDeclaration\\\"===r||\\\"Placeholder\\\"===r&&(\\\"Statement\\\"===e.expectedNode||\\\"Declaration\\\"===e.expectedNode||\\\"BlockStatement\\\"===e.expectedNode))&&(void 0===t||(0,n.default)(e,t))},t.isTerminatorless=function(e,t){if(!e)return!1;const r=e.type;return(\\\"BreakStatement\\\"===r||\\\"ContinueStatement\\\"===r||\\\"ReturnStatement\\\"===r||\\\"ThrowStatement\\\"===r||\\\"YieldExpression\\\"===r||\\\"AwaitExpression\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isCompletionStatement=function(e,t){if(!e)return!1;const r=e.type;return(\\\"BreakStatement\\\"===r||\\\"ContinueStatement\\\"===r||\\\"ReturnStatement\\\"===r||\\\"ThrowStatement\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isConditional=function(e,t){if(!e)return!1;const r=e.type;return(\\\"ConditionalExpression\\\"===r||\\\"IfStatement\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isLoop=function(e,t){if(!e)return!1;const r=e.type;return(\\\"DoWhileStatement\\\"===r||\\\"ForInStatement\\\"===r||\\\"ForStatement\\\"===r||\\\"WhileStatement\\\"===r||\\\"ForOfStatement\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isWhile=function(e,t){if(!e)return!1;const r=e.type;return(\\\"DoWhileStatement\\\"===r||\\\"WhileStatement\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isExpressionWrapper=function(e,t){if(!e)return!1;const r=e.type;return(\\\"ExpressionStatement\\\"===r||\\\"ParenthesizedExpression\\\"===r||\\\"TypeCastExpression\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isFor=function(e,t){if(!e)return!1;const r=e.type;return(\\\"ForInStatement\\\"===r||\\\"ForStatement\\\"===r||\\\"ForOfStatement\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isForXStatement=function(e,t){if(!e)return!1;const r=e.type;return(\\\"ForInStatement\\\"===r||\\\"ForOfStatement\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isFunction=function(e,t){if(!e)return!1;const r=e.type;return(\\\"FunctionDeclaration\\\"===r||\\\"FunctionExpression\\\"===r||\\\"ObjectMethod\\\"===r||\\\"ArrowFunctionExpression\\\"===r||\\\"ClassMethod\\\"===r||\\\"ClassPrivateMethod\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isFunctionParent=function(e,t){if(!e)return!1;const r=e.type;return(\\\"FunctionDeclaration\\\"===r||\\\"FunctionExpression\\\"===r||\\\"ObjectMethod\\\"===r||\\\"ArrowFunctionExpression\\\"===r||\\\"ClassMethod\\\"===r||\\\"ClassPrivateMethod\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isPureish=function(e,t){if(!e)return!1;const r=e.type;return(\\\"FunctionDeclaration\\\"===r||\\\"FunctionExpression\\\"===r||\\\"StringLiteral\\\"===r||\\\"NumericLiteral\\\"===r||\\\"NullLiteral\\\"===r||\\\"BooleanLiteral\\\"===r||\\\"RegExpLiteral\\\"===r||\\\"ArrowFunctionExpression\\\"===r||\\\"BigIntLiteral\\\"===r||\\\"DecimalLiteral\\\"===r||\\\"Placeholder\\\"===r&&\\\"StringLiteral\\\"===e.expectedNode)&&(void 0===t||(0,n.default)(e,t))},t.isDeclaration=function(e,t){if(!e)return!1;const r=e.type;return(\\\"FunctionDeclaration\\\"===r||\\\"VariableDeclaration\\\"===r||\\\"ClassDeclaration\\\"===r||\\\"ExportAllDeclaration\\\"===r||\\\"ExportDefaultDeclaration\\\"===r||\\\"ExportNamedDeclaration\\\"===r||\\\"ImportDeclaration\\\"===r||\\\"DeclareClass\\\"===r||\\\"DeclareFunction\\\"===r||\\\"DeclareInterface\\\"===r||\\\"DeclareModule\\\"===r||\\\"DeclareModuleExports\\\"===r||\\\"DeclareTypeAlias\\\"===r||\\\"DeclareOpaqueType\\\"===r||\\\"DeclareVariable\\\"===r||\\\"DeclareExportDeclaration\\\"===r||\\\"DeclareExportAllDeclaration\\\"===r||\\\"InterfaceDeclaration\\\"===r||\\\"OpaqueType\\\"===r||\\\"TypeAlias\\\"===r||\\\"EnumDeclaration\\\"===r||\\\"TSDeclareFunction\\\"===r||\\\"TSInterfaceDeclaration\\\"===r||\\\"TSTypeAliasDeclaration\\\"===r||\\\"TSEnumDeclaration\\\"===r||\\\"TSModuleDeclaration\\\"===r||\\\"Placeholder\\\"===r&&\\\"Declaration\\\"===e.expectedNode)&&(void 0===t||(0,n.default)(e,t))},t.isPatternLike=function(e,t){if(!e)return!1;const r=e.type;return(\\\"Identifier\\\"===r||\\\"RestElement\\\"===r||\\\"AssignmentPattern\\\"===r||\\\"ArrayPattern\\\"===r||\\\"ObjectPattern\\\"===r||\\\"Placeholder\\\"===r&&(\\\"Pattern\\\"===e.expectedNode||\\\"Identifier\\\"===e.expectedNode))&&(void 0===t||(0,n.default)(e,t))},t.isLVal=function(e,t){if(!e)return!1;const r=e.type;return(\\\"Identifier\\\"===r||\\\"MemberExpression\\\"===r||\\\"RestElement\\\"===r||\\\"AssignmentPattern\\\"===r||\\\"ArrayPattern\\\"===r||\\\"ObjectPattern\\\"===r||\\\"TSParameterProperty\\\"===r||\\\"Placeholder\\\"===r&&(\\\"Pattern\\\"===e.expectedNode||\\\"Identifier\\\"===e.expectedNode))&&(void 0===t||(0,n.default)(e,t))},t.isTSEntityName=function(e,t){if(!e)return!1;const r=e.type;return(\\\"Identifier\\\"===r||\\\"TSQualifiedName\\\"===r||\\\"Placeholder\\\"===r&&\\\"Identifier\\\"===e.expectedNode)&&(void 0===t||(0,n.default)(e,t))},t.isLiteral=function(e,t){if(!e)return!1;const r=e.type;return(\\\"StringLiteral\\\"===r||\\\"NumericLiteral\\\"===r||\\\"NullLiteral\\\"===r||\\\"BooleanLiteral\\\"===r||\\\"RegExpLiteral\\\"===r||\\\"TemplateLiteral\\\"===r||\\\"BigIntLiteral\\\"===r||\\\"DecimalLiteral\\\"===r||\\\"Placeholder\\\"===r&&\\\"StringLiteral\\\"===e.expectedNode)&&(void 0===t||(0,n.default)(e,t))},t.isImmutable=function(e,t){if(!e)return!1;const r=e.type;return(\\\"StringLiteral\\\"===r||\\\"NumericLiteral\\\"===r||\\\"NullLiteral\\\"===r||\\\"BooleanLiteral\\\"===r||\\\"BigIntLiteral\\\"===r||\\\"JSXAttribute\\\"===r||\\\"JSXClosingElement\\\"===r||\\\"JSXElement\\\"===r||\\\"JSXExpressionContainer\\\"===r||\\\"JSXSpreadChild\\\"===r||\\\"JSXOpeningElement\\\"===r||\\\"JSXText\\\"===r||\\\"JSXFragment\\\"===r||\\\"JSXOpeningFragment\\\"===r||\\\"JSXClosingFragment\\\"===r||\\\"DecimalLiteral\\\"===r||\\\"Placeholder\\\"===r&&\\\"StringLiteral\\\"===e.expectedNode)&&(void 0===t||(0,n.default)(e,t))},t.isUserWhitespacable=function(e,t){if(!e)return!1;const r=e.type;return(\\\"ObjectMethod\\\"===r||\\\"ObjectProperty\\\"===r||\\\"ObjectTypeInternalSlot\\\"===r||\\\"ObjectTypeCallProperty\\\"===r||\\\"ObjectTypeIndexer\\\"===r||\\\"ObjectTypeProperty\\\"===r||\\\"ObjectTypeSpreadProperty\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isMethod=function(e,t){if(!e)return!1;const r=e.type;return(\\\"ObjectMethod\\\"===r||\\\"ClassMethod\\\"===r||\\\"ClassPrivateMethod\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isObjectMember=function(e,t){if(!e)return!1;const r=e.type;return(\\\"ObjectMethod\\\"===r||\\\"ObjectProperty\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isProperty=function(e,t){if(!e)return!1;const r=e.type;return(\\\"ObjectProperty\\\"===r||\\\"ClassProperty\\\"===r||\\\"ClassPrivateProperty\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isUnaryLike=function(e,t){if(!e)return!1;const r=e.type;return(\\\"UnaryExpression\\\"===r||\\\"SpreadElement\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isPattern=function(e,t){if(!e)return!1;const r=e.type;return(\\\"AssignmentPattern\\\"===r||\\\"ArrayPattern\\\"===r||\\\"ObjectPattern\\\"===r||\\\"Placeholder\\\"===r&&\\\"Pattern\\\"===e.expectedNode)&&(void 0===t||(0,n.default)(e,t))},t.isClass=function(e,t){if(!e)return!1;const r=e.type;return(\\\"ClassExpression\\\"===r||\\\"ClassDeclaration\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isModuleDeclaration=function(e,t){if(!e)return!1;const r=e.type;return(\\\"ExportAllDeclaration\\\"===r||\\\"ExportDefaultDeclaration\\\"===r||\\\"ExportNamedDeclaration\\\"===r||\\\"ImportDeclaration\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isExportDeclaration=function(e,t){if(!e)return!1;const r=e.type;return(\\\"ExportAllDeclaration\\\"===r||\\\"ExportDefaultDeclaration\\\"===r||\\\"ExportNamedDeclaration\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isModuleSpecifier=function(e,t){if(!e)return!1;const r=e.type;return(\\\"ExportSpecifier\\\"===r||\\\"ImportDefaultSpecifier\\\"===r||\\\"ImportNamespaceSpecifier\\\"===r||\\\"ImportSpecifier\\\"===r||\\\"ExportNamespaceSpecifier\\\"===r||\\\"ExportDefaultSpecifier\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isFlow=function(e,t){if(!e)return!1;const r=e.type;return(\\\"AnyTypeAnnotation\\\"===r||\\\"ArrayTypeAnnotation\\\"===r||\\\"BooleanTypeAnnotation\\\"===r||\\\"BooleanLiteralTypeAnnotation\\\"===r||\\\"NullLiteralTypeAnnotation\\\"===r||\\\"ClassImplements\\\"===r||\\\"DeclareClass\\\"===r||\\\"DeclareFunction\\\"===r||\\\"DeclareInterface\\\"===r||\\\"DeclareModule\\\"===r||\\\"DeclareModuleExports\\\"===r||\\\"DeclareTypeAlias\\\"===r||\\\"DeclareOpaqueType\\\"===r||\\\"DeclareVariable\\\"===r||\\\"DeclareExportDeclaration\\\"===r||\\\"DeclareExportAllDeclaration\\\"===r||\\\"DeclaredPredicate\\\"===r||\\\"ExistsTypeAnnotation\\\"===r||\\\"FunctionTypeAnnotation\\\"===r||\\\"FunctionTypeParam\\\"===r||\\\"GenericTypeAnnotation\\\"===r||\\\"InferredPredicate\\\"===r||\\\"InterfaceExtends\\\"===r||\\\"InterfaceDeclaration\\\"===r||\\\"InterfaceTypeAnnotation\\\"===r||\\\"IntersectionTypeAnnotation\\\"===r||\\\"MixedTypeAnnotation\\\"===r||\\\"EmptyTypeAnnotation\\\"===r||\\\"NullableTypeAnnotation\\\"===r||\\\"NumberLiteralTypeAnnotation\\\"===r||\\\"NumberTypeAnnotation\\\"===r||\\\"ObjectTypeAnnotation\\\"===r||\\\"ObjectTypeInternalSlot\\\"===r||\\\"ObjectTypeCallProperty\\\"===r||\\\"ObjectTypeIndexer\\\"===r||\\\"ObjectTypeProperty\\\"===r||\\\"ObjectTypeSpreadProperty\\\"===r||\\\"OpaqueType\\\"===r||\\\"QualifiedTypeIdentifier\\\"===r||\\\"StringLiteralTypeAnnotation\\\"===r||\\\"StringTypeAnnotation\\\"===r||\\\"SymbolTypeAnnotation\\\"===r||\\\"ThisTypeAnnotation\\\"===r||\\\"TupleTypeAnnotation\\\"===r||\\\"TypeofTypeAnnotation\\\"===r||\\\"TypeAlias\\\"===r||\\\"TypeAnnotation\\\"===r||\\\"TypeCastExpression\\\"===r||\\\"TypeParameter\\\"===r||\\\"TypeParameterDeclaration\\\"===r||\\\"TypeParameterInstantiation\\\"===r||\\\"UnionTypeAnnotation\\\"===r||\\\"Variance\\\"===r||\\\"VoidTypeAnnotation\\\"===r||\\\"IndexedAccessType\\\"===r||\\\"OptionalIndexedAccessType\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isFlowType=function(e,t){if(!e)return!1;const r=e.type;return(\\\"AnyTypeAnnotation\\\"===r||\\\"ArrayTypeAnnotation\\\"===r||\\\"BooleanTypeAnnotation\\\"===r||\\\"BooleanLiteralTypeAnnotation\\\"===r||\\\"NullLiteralTypeAnnotation\\\"===r||\\\"ExistsTypeAnnotation\\\"===r||\\\"FunctionTypeAnnotation\\\"===r||\\\"GenericTypeAnnotation\\\"===r||\\\"InterfaceTypeAnnotation\\\"===r||\\\"IntersectionTypeAnnotation\\\"===r||\\\"MixedTypeAnnotation\\\"===r||\\\"EmptyTypeAnnotation\\\"===r||\\\"NullableTypeAnnotation\\\"===r||\\\"NumberLiteralTypeAnnotation\\\"===r||\\\"NumberTypeAnnotation\\\"===r||\\\"ObjectTypeAnnotation\\\"===r||\\\"StringLiteralTypeAnnotation\\\"===r||\\\"StringTypeAnnotation\\\"===r||\\\"SymbolTypeAnnotation\\\"===r||\\\"ThisTypeAnnotation\\\"===r||\\\"TupleTypeAnnotation\\\"===r||\\\"TypeofTypeAnnotation\\\"===r||\\\"UnionTypeAnnotation\\\"===r||\\\"VoidTypeAnnotation\\\"===r||\\\"IndexedAccessType\\\"===r||\\\"OptionalIndexedAccessType\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isFlowBaseAnnotation=function(e,t){if(!e)return!1;const r=e.type;return(\\\"AnyTypeAnnotation\\\"===r||\\\"BooleanTypeAnnotation\\\"===r||\\\"NullLiteralTypeAnnotation\\\"===r||\\\"MixedTypeAnnotation\\\"===r||\\\"EmptyTypeAnnotation\\\"===r||\\\"NumberTypeAnnotation\\\"===r||\\\"StringTypeAnnotation\\\"===r||\\\"SymbolTypeAnnotation\\\"===r||\\\"ThisTypeAnnotation\\\"===r||\\\"VoidTypeAnnotation\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isFlowDeclaration=function(e,t){if(!e)return!1;const r=e.type;return(\\\"DeclareClass\\\"===r||\\\"DeclareFunction\\\"===r||\\\"DeclareInterface\\\"===r||\\\"DeclareModule\\\"===r||\\\"DeclareModuleExports\\\"===r||\\\"DeclareTypeAlias\\\"===r||\\\"DeclareOpaqueType\\\"===r||\\\"DeclareVariable\\\"===r||\\\"DeclareExportDeclaration\\\"===r||\\\"DeclareExportAllDeclaration\\\"===r||\\\"InterfaceDeclaration\\\"===r||\\\"OpaqueType\\\"===r||\\\"TypeAlias\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isFlowPredicate=function(e,t){if(!e)return!1;const r=e.type;return(\\\"DeclaredPredicate\\\"===r||\\\"InferredPredicate\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isEnumBody=function(e,t){if(!e)return!1;const r=e.type;return(\\\"EnumBooleanBody\\\"===r||\\\"EnumNumberBody\\\"===r||\\\"EnumStringBody\\\"===r||\\\"EnumSymbolBody\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isEnumMember=function(e,t){if(!e)return!1;const r=e.type;return(\\\"EnumBooleanMember\\\"===r||\\\"EnumNumberMember\\\"===r||\\\"EnumStringMember\\\"===r||\\\"EnumDefaultedMember\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isJSX=function(e,t){if(!e)return!1;const r=e.type;return(\\\"JSXAttribute\\\"===r||\\\"JSXClosingElement\\\"===r||\\\"JSXElement\\\"===r||\\\"JSXEmptyExpression\\\"===r||\\\"JSXExpressionContainer\\\"===r||\\\"JSXSpreadChild\\\"===r||\\\"JSXIdentifier\\\"===r||\\\"JSXMemberExpression\\\"===r||\\\"JSXNamespacedName\\\"===r||\\\"JSXOpeningElement\\\"===r||\\\"JSXSpreadAttribute\\\"===r||\\\"JSXText\\\"===r||\\\"JSXFragment\\\"===r||\\\"JSXOpeningFragment\\\"===r||\\\"JSXClosingFragment\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isPrivate=function(e,t){if(!e)return!1;const r=e.type;return(\\\"ClassPrivateProperty\\\"===r||\\\"ClassPrivateMethod\\\"===r||\\\"PrivateName\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isTSTypeElement=function(e,t){if(!e)return!1;const r=e.type;return(\\\"TSCallSignatureDeclaration\\\"===r||\\\"TSConstructSignatureDeclaration\\\"===r||\\\"TSPropertySignature\\\"===r||\\\"TSMethodSignature\\\"===r||\\\"TSIndexSignature\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isTSType=function(e,t){if(!e)return!1;const r=e.type;return(\\\"TSAnyKeyword\\\"===r||\\\"TSBooleanKeyword\\\"===r||\\\"TSBigIntKeyword\\\"===r||\\\"TSIntrinsicKeyword\\\"===r||\\\"TSNeverKeyword\\\"===r||\\\"TSNullKeyword\\\"===r||\\\"TSNumberKeyword\\\"===r||\\\"TSObjectKeyword\\\"===r||\\\"TSStringKeyword\\\"===r||\\\"TSSymbolKeyword\\\"===r||\\\"TSUndefinedKeyword\\\"===r||\\\"TSUnknownKeyword\\\"===r||\\\"TSVoidKeyword\\\"===r||\\\"TSThisType\\\"===r||\\\"TSFunctionType\\\"===r||\\\"TSConstructorType\\\"===r||\\\"TSTypeReference\\\"===r||\\\"TSTypePredicate\\\"===r||\\\"TSTypeQuery\\\"===r||\\\"TSTypeLiteral\\\"===r||\\\"TSArrayType\\\"===r||\\\"TSTupleType\\\"===r||\\\"TSOptionalType\\\"===r||\\\"TSRestType\\\"===r||\\\"TSUnionType\\\"===r||\\\"TSIntersectionType\\\"===r||\\\"TSConditionalType\\\"===r||\\\"TSInferType\\\"===r||\\\"TSParenthesizedType\\\"===r||\\\"TSTypeOperator\\\"===r||\\\"TSIndexedAccessType\\\"===r||\\\"TSMappedType\\\"===r||\\\"TSLiteralType\\\"===r||\\\"TSExpressionWithTypeArguments\\\"===r||\\\"TSImportType\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isTSBaseType=function(e,t){if(!e)return!1;const r=e.type;return(\\\"TSAnyKeyword\\\"===r||\\\"TSBooleanKeyword\\\"===r||\\\"TSBigIntKeyword\\\"===r||\\\"TSIntrinsicKeyword\\\"===r||\\\"TSNeverKeyword\\\"===r||\\\"TSNullKeyword\\\"===r||\\\"TSNumberKeyword\\\"===r||\\\"TSObjectKeyword\\\"===r||\\\"TSStringKeyword\\\"===r||\\\"TSSymbolKeyword\\\"===r||\\\"TSUndefinedKeyword\\\"===r||\\\"TSUnknownKeyword\\\"===r||\\\"TSVoidKeyword\\\"===r||\\\"TSThisType\\\"===r||\\\"TSLiteralType\\\"===r)&&(void 0===t||(0,n.default)(e,t))},t.isNumberLiteral=function(e,t){return console.trace(\\\"The node type NumberLiteral has been renamed to NumericLiteral\\\"),!!e&&(\\\"NumberLiteral\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isRegexLiteral=function(e,t){return console.trace(\\\"The node type RegexLiteral has been renamed to RegExpLiteral\\\"),!!e&&(\\\"RegexLiteral\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isRestProperty=function(e,t){return console.trace(\\\"The node type RestProperty has been renamed to RestElement\\\"),!!e&&(\\\"RestProperty\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))},t.isSpreadProperty=function(e,t){return console.trace(\\\"The node type SpreadProperty has been renamed to SpreadElement\\\"),!!e&&(\\\"SpreadProperty\\\"===e.type&&(void 0===t||(0,n.default)(e,t)))};var n=r(4729)},5001:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t,r){return!!t&&((0,i.default)(t.type,e)?void 0===r||(0,n.default)(t,r):!r&&\\\"Placeholder\\\"===t.type&&e in a.FLIPPED_ALIAS_KEYS&&(0,s.default)(t.expectedNode,e))};var n=r(4729),i=r(4263),s=r(549),a=r(1102)},48:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t,r){if(r&&\\\"Identifier\\\"===e.type&&\\\"ObjectProperty\\\"===t.type&&\\\"ObjectExpression\\\"===r.type)return!1;const i=n.default.keys[t.type];if(i)for(let r=0;r=0)return!0}else if(n===e)return!0}return!1};var n=r(5337)},7199:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)};var n=r(3924),i=r(100)},3261:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){return!!(0,n.default)(e.type,\\\"Immutable\\\")||!!(0,i.isIdentifier)(e)&&\\\"undefined\\\"===e.name};var n=r(4263),i=r(3924)},100:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){return(0,n.isVariableDeclaration)(e)&&(\\\"var\\\"!==e.kind||e[i.BLOCK_SCOPED_SYMBOL])};var n=r(3924),i=r(2770)},1860:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){return!(!e||!n.VISITOR_KEYS[e.type])};var n=r(1102)},7190:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function e(t,r){if(\\\"object\\\"!=typeof t||\\\"object\\\"!=typeof r||null==t||null==r)return t===r;if(t.type!==r.type)return!1;const i=Object.keys(n.NODE_FIELDS[t.type]||t.type),s=n.VISITOR_KEYS[t.type];for(const n of i){if(typeof t[n]!=typeof r[n])return!1;if(null!=t[n]||null!=r[n]){if(null==t[n]||null==r[n])return!1;if(Array.isArray(t[n])){if(!Array.isArray(r[n]))return!1;if(t[n].length!==r[n].length)return!1;for(let i=0;i{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t){if(e===t)return!0;const r=n.PLACEHOLDERS_ALIAS[e];if(r)for(const e of r)if(t===e)return!0;return!1};var n=r(1102)},2954:(e,t)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t,r){switch(t.type){case\\\"MemberExpression\\\":case\\\"JSXMemberExpression\\\":case\\\"OptionalMemberExpression\\\":return t.property===e?!!t.computed:t.object===e;case\\\"VariableDeclarator\\\":return t.init===e;case\\\"ArrowFunctionExpression\\\":return t.body===e;case\\\"PrivateName\\\":return!1;case\\\"ClassMethod\\\":case\\\"ClassPrivateMethod\\\":case\\\"ObjectMethod\\\":if(t.params.includes(e))return!1;case\\\"ObjectProperty\\\":case\\\"ClassProperty\\\":case\\\"ClassPrivateProperty\\\":return t.key===e?!!t.computed:t.value!==e||!r||\\\"ObjectPattern\\\"!==r.type;case\\\"ClassDeclaration\\\":case\\\"ClassExpression\\\":return t.superClass===e;case\\\"AssignmentExpression\\\":case\\\"AssignmentPattern\\\":return t.right===e;case\\\"LabeledStatement\\\":case\\\"CatchClause\\\":case\\\"RestElement\\\":case\\\"BreakStatement\\\":case\\\"ContinueStatement\\\":case\\\"FunctionDeclaration\\\":case\\\"FunctionExpression\\\":case\\\"ExportNamespaceSpecifier\\\":case\\\"ExportDefaultSpecifier\\\":return!1;case\\\"ExportSpecifier\\\":return(null==r||!r.source)&&t.local===e;case\\\"ImportDefaultSpecifier\\\":case\\\"ImportNamespaceSpecifier\\\":case\\\"ImportSpecifier\\\":case\\\"JSXAttribute\\\":case\\\"ObjectPattern\\\":case\\\"ArrayPattern\\\":case\\\"MetaProperty\\\":return!1;case\\\"ObjectTypeProperty\\\":return t.key!==e;case\\\"TSEnumMember\\\":return t.id!==e;case\\\"TSPropertySignature\\\":return t.key!==e||!!t.computed}return!0}},5969:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t){return(!(0,n.isBlockStatement)(e)||!(0,n.isFunction)(t)&&!(0,n.isCatchClause)(t))&&(!(!(0,n.isPattern)(e)||!(0,n.isFunction)(t)&&!(0,n.isCatchClause)(t))||(0,n.isScopable)(e))};var n=r(3924)},1422:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:\\\"default\\\"})};var n=r(3924)},4263:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t){if(e===t)return!0;if(n.ALIAS_KEYS[t])return!1;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return!0;for(const t of r)if(e===t)return!0}return!1};var n=r(1102)},3902:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){return(0,n.default)(e)&&!i.has(e)};var n=r(6335);const i=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\\\"])},6335:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t=!0){return\\\"string\\\"==typeof e&&((!t||!(0,n.isKeyword)(e)&&!(0,n.isStrictReservedWord)(e,!0))&&(0,n.isIdentifierName)(e))};var n=r(7075)},7117:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){return(0,n.isVariableDeclaration)(e,{kind:\\\"var\\\"})&&!e[i.BLOCK_SCOPED_SYMBOL]};var n=r(3924),i=r(2770)},4185:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t,r){if(!(0,n.isMemberExpression)(e))return!1;const i=Array.isArray(t)?t:t.split(\\\".\\\"),s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object)s.push(a.property);if(s.push(a),s.lengthi.length)return!1;for(let e=0,t=s.length-1;e{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e){return!!e&&/^[a-z]/.test(e)}},1934:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=void 0;var n=(0,r(3427).default)(\\\"React.Component\\\");t.default=n},1843:(e,t,r)=>{\\\"use strict\\\";Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=function(e,t,r){if(!e)return;const a=n.NODE_FIELDS[e.type];if(!a)return;i(e,t,r,a[t]),s(e,t,r)},t.validateField=i,t.validateChild=s;var n=r(1102);function i(e,t,r,n){null!=n&&n.validate&&(n.optional&&null==r||n.validate(e,t,r))}function s(e,t,r){if(null==r)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];i&&i(e,t,r)}},4987:(e,t,r)=>{var n=r(397);t.log=function(...e){return\\\"object\\\"==typeof console&&console.log&&console.log(...e)},t.formatArgs=function(t){if(t[0]=(this.useColors?\\\"%c\\\":\\\"\\\")+this.namespace+(this.useColors?\\\" %c\\\":\\\" \\\")+t[0]+(this.useColors?\\\"%c \\\":\\\" \\\")+\\\"+\\\"+e.exports.humanize(this.diff),!this.useColors)return;const r=\\\"color: \\\"+this.color;t.splice(1,0,r,\\\"color: inherit\\\");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{\\\"%%\\\"!==e&&(n++,\\\"%c\\\"===e&&(i=n))})),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem(\\\"debug\\\",e):t.storage.removeItem(\\\"debug\\\")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem(\\\"debug\\\")}catch(e){}return!e&&void 0!==n&&\\\"env\\\"in n&&(e=n.env.DEBUG),e},t.useColors=function(){return!(\\\"undefined\\\"==typeof window||!window.process||\\\"renderer\\\"!==window.process.type&&!window.process.__nwjs)||(\\\"undefined\\\"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\\\\/(\\\\d+)/))&&(\\\"undefined\\\"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||\\\"undefined\\\"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||\\\"undefined\\\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\\\\/(\\\\d+)/)&&parseInt(RegExp.$1,10)>=31||\\\"undefined\\\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\\\/(\\\\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=[\\\"#0000CC\\\",\\\"#0000FF\\\",\\\"#0033CC\\\",\\\"#0033FF\\\",\\\"#0066CC\\\",\\\"#0066FF\\\",\\\"#0099CC\\\",\\\"#0099FF\\\",\\\"#00CC00\\\",\\\"#00CC33\\\",\\\"#00CC66\\\",\\\"#00CC99\\\",\\\"#00CCCC\\\",\\\"#00CCFF\\\",\\\"#3300CC\\\",\\\"#3300FF\\\",\\\"#3333CC\\\",\\\"#3333FF\\\",\\\"#3366CC\\\",\\\"#3366FF\\\",\\\"#3399CC\\\",\\\"#3399FF\\\",\\\"#33CC00\\\",\\\"#33CC33\\\",\\\"#33CC66\\\",\\\"#33CC99\\\",\\\"#33CCCC\\\",\\\"#33CCFF\\\",\\\"#6600CC\\\",\\\"#6600FF\\\",\\\"#6633CC\\\",\\\"#6633FF\\\",\\\"#66CC00\\\",\\\"#66CC33\\\",\\\"#9900CC\\\",\\\"#9900FF\\\",\\\"#9933CC\\\",\\\"#9933FF\\\",\\\"#99CC00\\\",\\\"#99CC33\\\",\\\"#CC0000\\\",\\\"#CC0033\\\",\\\"#CC0066\\\",\\\"#CC0099\\\",\\\"#CC00CC\\\",\\\"#CC00FF\\\",\\\"#CC3300\\\",\\\"#CC3333\\\",\\\"#CC3366\\\",\\\"#CC3399\\\",\\\"#CC33CC\\\",\\\"#CC33FF\\\",\\\"#CC6600\\\",\\\"#CC6633\\\",\\\"#CC9900\\\",\\\"#CC9933\\\",\\\"#CCCC00\\\",\\\"#CCCC33\\\",\\\"#FF0000\\\",\\\"#FF0033\\\",\\\"#FF0066\\\",\\\"#FF0099\\\",\\\"#FF00CC\\\",\\\"#FF00FF\\\",\\\"#FF3300\\\",\\\"#FF3333\\\",\\\"#FF3366\\\",\\\"#FF3399\\\",\\\"#FF33CC\\\",\\\"#FF33FF\\\",\\\"#FF6600\\\",\\\"#FF6633\\\",\\\"#FF9900\\\",\\\"#FF9933\\\",\\\"#FFCC00\\\",\\\"#FFCC33\\\"],e.exports=r(7179)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return\\\"[UnexpectedJSONParseError]: \\\"+e.message}}},7179:(e,t,r)=>{e.exports=function(e){function t(e){let t=0;for(let r=0;r{if(\\\"%%\\\"===r)return r;o++;const s=n.formatters[i];if(\\\"function\\\"==typeof s){const n=e[o];r=s.call(t,n),e.splice(o,1),o--}return r})),n.formatArgs.call(t,e),(t.log||n.log).apply(t,e)}return a.namespace=e,a.enabled=n.enabled(e),a.useColors=n.useColors(),a.color=t(e),a.destroy=i,a.extend=s,\\\"function\\\"==typeof n.init&&n.init(a),n.instances.push(a),a}function i(){const e=n.instances.indexOf(this);return-1!==e&&(n.instances.splice(e,1),!0)}function s(e,t){const r=n(this.namespace+(void 0===t?\\\":\\\":t)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\\\\.\\\\*\\\\?$/,\\\"*\\\")}return n.debug=n,n.default=n,n.coerce=function(e){return e instanceof Error?e.stack||e.message:e},n.disable=function(){const e=[...n.names.map(a),...n.skips.map(a).map((e=>\\\"-\\\"+e))].join(\\\",\\\");return n.enable(\\\"\\\"),e},n.enable=function(e){let t;n.save(e),n.names=[],n.skips=[];const r=(\\\"string\\\"==typeof e?e:\\\"\\\").split(/[\\\\s,]+/),i=r.length;for(t=0;t{n[t]=e[t]})),n.instances=[],n.names=[],n.skips=[],n.formatters={},n.selectColor=t,n.enable(n.load()),n}},4410:(e,t,r)=>{var n=r(397);void 0===n||\\\"renderer\\\"===n.type||!0===n.browser||n.__nwjs?e.exports=r(4987):e.exports=r(848)},848:(e,t,r)=>{var n=r(397);const i=r(6224),s=r(3837);t.init=function(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(n.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let i=n.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&(\\\"null\\\"===i?null:Number(i)),e[r]=i,e}),{}),e.exports=r(7179)(t);const{formatters:a}=e.exports;a.o=function(e){return this.inspectOpts.colors=this.useColors,s.inspect(e,this.inspectOpts).replace(/\\\\s*\\\\n\\\\s*/g,\\\" \\\")},a.O=function(e){return this.inspectOpts.colors=this.useColors,s.inspect(e,this.inspectOpts)}},8715:function(e,t,r){var n,i,s;!function(a,o){\\\"use strict\\\";i=[r(7356)],void 0===(s=\\\"function\\\"==typeof(n=function(e){var t=/(^|@)\\\\S+:\\\\d+/,r=/^\\\\s*at .*(\\\\S+:\\\\d+|\\\\(native\\\\))/m,n=/^(eval@)?(\\\\[native code])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e[\\\"opera#sourceloc\\\"])return this.parseOpera(e);if(e.stack&&e.stack.match(r))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error(\\\"Cannot parse given Error object\\\")},extractLocation:function(e){if(-1===e.indexOf(\\\":\\\"))return[e];var t=/(.+?)(?::(\\\\d+))?(?::(\\\\d+))?$/.exec(e.replace(/[()]/g,\\\"\\\"));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(t){return t.stack.split(\\\"\\\\n\\\").filter((function(e){return!!e.match(r)}),this).map((function(t){t.indexOf(\\\"(eval \\\")>-1&&(t=t.replace(/eval code/g,\\\"eval\\\").replace(/(\\\\(eval at [^()]*)|(\\\\),.*$)/g,\\\"\\\"));var r=t.replace(/^\\\\s+/,\\\"\\\").replace(/\\\\(eval code/g,\\\"(\\\"),n=r.match(/ (\\\\((.+):(\\\\d+):(\\\\d+)\\\\)$)/),i=(r=n?r.replace(n[0],\\\"\\\"):r).split(/\\\\s+/).slice(1),s=this.extractLocation(n?n[1]:i.pop()),a=i.join(\\\" \\\")||void 0,o=[\\\"eval\\\",\\\"\\\"].indexOf(s[0])>-1?void 0:s[0];return new e({functionName:a,fileName:o,lineNumber:s[1],columnNumber:s[2],source:t})}),this)},parseFFOrSafari:function(t){return t.stack.split(\\\"\\\\n\\\").filter((function(e){return!e.match(n)}),this).map((function(t){if(t.indexOf(\\\" > eval\\\")>-1&&(t=t.replace(/ line (\\\\d+)(?: > eval line \\\\d+)* > eval:\\\\d+:\\\\d+/g,\\\":$1\\\")),-1===t.indexOf(\\\"@\\\")&&-1===t.indexOf(\\\":\\\"))return new e({functionName:t});var r=/((.*\\\".+\\\"[^@]*)?[^@]*)(?:@)/,n=t.match(r),i=n&&n[1]?n[1]:void 0,s=this.extractLocation(t.replace(r,\\\"\\\"));return new e({functionName:i,fileName:s[0],lineNumber:s[1],columnNumber:s[2],source:t})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf(\\\"\\\\n\\\")>-1&&e.message.split(\\\"\\\\n\\\").length>e.stacktrace.split(\\\"\\\\n\\\").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var r=/Line (\\\\d+).*script (?:in )?(\\\\S+)/i,n=t.message.split(\\\"\\\\n\\\"),i=[],s=2,a=n.length;s/,\\\"$2\\\").replace(/\\\\([^)]*\\\\)/g,\\\"\\\")||void 0;s.match(/\\\\(([^)]*)\\\\)/)&&(r=s.replace(/^[^(]+\\\\(([^)]*)\\\\)$/,\\\"$1\\\"));var o=void 0===r||\\\"[arguments not available]\\\"===r?void 0:r.split(\\\",\\\");return new e({functionName:a,args:o,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})}),this)}}})?n.apply(t,i):n)||(e.exports=s)}()},1014:e=>{\\\"use strict\\\";var t=/[|\\\\\\\\{}()[\\\\]^$+*?.]/g;e.exports=function(e){if(\\\"string\\\"!=typeof e)throw new TypeError(\\\"Expected a string\\\");return e.replace(t,\\\"\\\\\\\\$&\\\")}},2261:(e,t,r)=>{\\\"use strict\\\";e.exports=r(964)},9341:(e,t,r)=>{\\\"use strict\\\";var n=r(397);e.exports=(e,t)=>{t=t||n.argv;const r=e.startsWith(\\\"-\\\")?\\\"\\\":1===e.length?\\\"-\\\":\\\"--\\\",i=t.indexOf(r+e),s=t.indexOf(\\\"--\\\");return-1!==i&&(-1===s||i{Object.defineProperty(t,\\\"__esModule\\\",{value:!0}),t.default=/((['\\\"])(?:(?!\\\\2|\\\\\\\\).|\\\\\\\\(?:\\\\r\\\\n|[\\\\s\\\\S]))*(\\\\2)?|`(?:[^`\\\\\\\\$]|\\\\\\\\[\\\\s\\\\S]|\\\\$(?!\\\\{)|\\\\$\\\\{(?:[^{}]|\\\\{[^}]*\\\\}?)*\\\\}?)*(`)?)|(\\\\/\\\\/.*)|(\\\\/\\\\*(?:[^*]|\\\\*(?!\\\\/))*(\\\\*\\\\/)?)|(\\\\/(?!\\\\*)(?:\\\\[(?:(?![\\\\]\\\\\\\\]).|\\\\\\\\.)*\\\\]|(?![\\\\/\\\\]\\\\\\\\]).|\\\\\\\\.)+\\\\/(?:(?!\\\\s*(?:\\\\b|[\\\\u0080-\\\\uFFFF$\\\\\\\\'\\\"~({]|[+\\\\-!](?!=)|\\\\.?\\\\d))|[gmiyus]{1,6}\\\\b(?![\\\\u0080-\\\\uFFFF$\\\\\\\\]|\\\\s*(?:[+\\\\-*%&|^<>!=?({]|\\\\/(?![\\\\/*])))))|(0[xX][\\\\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\\\\d*\\\\.\\\\d+|\\\\d+\\\\.?)(?:[eE][+-]?\\\\d+)?)|((?!\\\\d)(?:(?!\\\\s)[$\\\\w\\\\u0080-\\\\uFFFF]|\\\\\\\\u[\\\\da-fA-F]{4}|\\\\\\\\u\\\\{[\\\\da-fA-F]+\\\\})+)|(--|\\\\+\\\\+|&&|\\\\|\\\\||=>|\\\\.{3}|(?:[+\\\\-\\\\/%&|^]|\\\\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\\\\](){}])|(\\\\s+)|(^$|[\\\\s\\\\S])/g,t.matchToToken=function(e){var t={type:\\\"invalid\\\",value:e[0],closed:void 0};return e[1]?(t.type=\\\"string\\\",t.closed=!(!e[3]&&!e[4])):e[5]?t.type=\\\"comment\\\":e[6]?(t.type=\\\"comment\\\",t.closed=!!e[7]):e[8]?t.type=\\\"regex\\\":e[9]?t.type=\\\"number\\\":e[10]?t.type=\\\"name\\\":e[11]?t.type=\\\"punctuator\\\":e[12]&&(t.type=\\\"whitespace\\\"),t}},442:e=>{\\\"use strict\\\";const t={},r=t.hasOwnProperty,n=(e,t)=>{for(const n in e)r.call(e,n)&&t(n,e[n])},i=t.toString,s=Array.isArray,a=Buffer.isBuffer,o={'\\\"':'\\\\\\\\\\\"',\\\"'\\\":\\\"\\\\\\\\'\\\",\\\"\\\\\\\\\\\":\\\"\\\\\\\\\\\\\\\\\\\",\\\"\\\\b\\\":\\\"\\\\\\\\b\\\",\\\"\\\\f\\\":\\\"\\\\\\\\f\\\",\\\"\\\\n\\\":\\\"\\\\\\\\n\\\",\\\"\\\\r\\\":\\\"\\\\\\\\r\\\",\\\"\\\\t\\\":\\\"\\\\\\\\t\\\"},l=/[\\\"'\\\\\\\\\\\\b\\\\f\\\\n\\\\r\\\\t]/,p=/[0-9]/,c=/[ !#-&\\\\(-\\\\[\\\\]-_a-~]/,u=(e,t)=>{const r=()=>{S=g,++t.indentLevel,g=t.indent.repeat(t.indentLevel)},d={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:\\\"single\\\",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:\\\"decimal\\\",indent:\\\"\\\\t\\\",indentLevel:0,__inline1__:!1,__inline2__:!1},h=t&&t.json;var f,m;h&&(d.quotes=\\\"double\\\",d.wrap=!0),f=d,t=(m=t)?(n(m,((e,t)=>{f[e]=t})),f):f,\\\"single\\\"!=t.quotes&&\\\"double\\\"!=t.quotes&&\\\"backtick\\\"!=t.quotes&&(t.quotes=\\\"single\\\");const y=\\\"double\\\"==t.quotes?'\\\"':\\\"backtick\\\"==t.quotes?\\\"`\\\":\\\"'\\\",T=t.compact,b=t.lowercaseHex;let g=t.indent.repeat(t.indentLevel),S=\\\"\\\";const x=t.__inline1__,E=t.__inline2__,P=T?\\\"\\\":\\\"\\\\n\\\";let v,A=!0;const w=\\\"binary\\\"==t.numbers,O=\\\"octal\\\"==t.numbers,I=\\\"decimal\\\"==t.numbers,N=\\\"hexadecimal\\\"==t.numbers;if(h&&e&&\\\"function\\\"==typeof e.toJSON&&(e=e.toJSON()),\\\"string\\\"!=typeof(C=e)&&\\\"[object String]\\\"!=i.call(C)){if((e=>\\\"[object Map]\\\"==i.call(e))(e))return 0==e.size?\\\"new Map()\\\":(T||(t.__inline1__=!0,t.__inline2__=!1),\\\"new Map(\\\"+u(Array.from(e),t)+\\\")\\\");if((e=>\\\"[object Set]\\\"==i.call(e))(e))return 0==e.size?\\\"new Set()\\\":\\\"new Set(\\\"+u(Array.from(e),t)+\\\")\\\";if(a(e))return 0==e.length?\\\"Buffer.from([])\\\":\\\"Buffer.from(\\\"+u(Array.from(e),t)+\\\")\\\";if(s(e))return v=[],t.wrap=!0,x&&(t.__inline1__=!1,t.__inline2__=!0),E||r(),((e,t)=>{const r=e.length;let n=-1;for(;++n{A=!1,E&&(t.__inline2__=!1),v.push((T||E?\\\"\\\":g)+u(e,t))})),A?\\\"[]\\\":E?\\\"[\\\"+v.join(\\\", \\\")+\\\"]\\\":\\\"[\\\"+P+v.join(\\\",\\\"+P)+P+(T?\\\"\\\":S)+\\\"]\\\";if(!(e=>\\\"number\\\"==typeof e||\\\"[object Number]\\\"==i.call(e))(e))return(e=>\\\"[object Object]\\\"==i.call(e))(e)?(v=[],t.wrap=!0,r(),n(e,((e,r)=>{A=!1,v.push((T?\\\"\\\":g)+u(e,t)+\\\":\\\"+(T?\\\"\\\":\\\" \\\")+u(r,t))})),A?\\\"{}\\\":\\\"{\\\"+P+v.join(\\\",\\\"+P)+P+(T?\\\"\\\":S)+\\\"}\\\"):h?JSON.stringify(e)||\\\"null\\\":String(e);if(h)return JSON.stringify(e);if(I)return String(e);if(N){let t=e.toString(16);return b||(t=t.toUpperCase()),\\\"0x\\\"+t}if(w)return\\\"0b\\\"+e.toString(2);if(O)return\\\"0o\\\"+e.toString(8)}var C;const k=e;let D=-1;const _=k.length;for(v=\\\"\\\";++D<_;){const e=k.charAt(D);if(t.es6){const e=k.charCodeAt(D);if(e>=55296&&e<=56319&&_>D+1){const t=k.charCodeAt(D+1);if(t>=56320&&t<=57343){let r=(1024*(e-55296)+t-56320+65536).toString(16);b||(r=r.toUpperCase()),v+=\\\"\\\\\\\\u{\\\"+r+\\\"}\\\",++D;continue}}}if(!t.escapeEverything){if(c.test(e)){v+=e;continue}if('\\\"'==e){v+=y==e?'\\\\\\\\\\\"':e;continue}if(\\\"`\\\"==e){v+=y==e?\\\"\\\\\\\\`\\\":e;continue}if(\\\"'\\\"==e){v+=y==e?\\\"\\\\\\\\'\\\":e;continue}}if(\\\"\\\\0\\\"==e&&!h&&!p.test(k.charAt(D+1))){v+=\\\"\\\\\\\\0\\\";continue}if(l.test(e)){v+=o[e];continue}const r=e.charCodeAt(0);if(t.minimal&&8232!=r&&8233!=r){v+=e;continue}let n=r.toString(16);b||(n=n.toUpperCase());const i=n.length>2||h,s=\\\"\\\\\\\\\\\"+(i?\\\"u\\\":\\\"x\\\")+(\\\"0000\\\"+n).slice(i?-4:-2);v+=s}return t.wrap&&(v=y+v+y),\\\"`\\\"==y&&(v=v.replace(/\\\\$\\\\{/g,\\\"\\\\\\\\${\\\")),t.isScriptContext?v.replace(/<\\\\/(script|style)/gi,\\\"<\\\\\\\\/$1\\\").replace(/